-
Notifications
You must be signed in to change notification settings - Fork 2.2k
TensorFlow Serving examples with Python 3 support #406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I get the same error with python2. Any idea to fix it? |
the same issue to me on python3 |
@benelot @DarryO @chrisolston find a potential bug in bazel-bin/tensorflow_serving/example/mnist_export line 29: |
I tried to port this to Python 3 but it does not work :/ Error: During handling of the above exception, another exception occurred: Traceback (most recent call last): Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/install_sources#common_installation_problems for some common reasons and solutions. Include the entire stack trace |
i get same error with python3.6. i find it is import error |
I met the problem when I run "bazel build -c opt tensorflow_serving/...", how can I solve it??? |
finally I find pyclass_type is a python2 variable so we need to change the default interpreter into python2.7, but my previous default interpreter is python3.6 after I installed anaconda. I used the following lines in prompt to reset my enviroment: then rebuild the server and client, pyClass_type problem do not exist. |
Hello everyone!
I already realized that the examples are not compatible with python3, but I thought that maybe at least the installation passes normally. If I run the mnist example, I am getting the following error, which seems to be related to tensorflow serving using the wrong python environment. I specified python3 in the tensorflow ./configure script, but it seems that the example still uses python and thus does not find tensorflow. Any ideas on how to test if my TensorFlow Serving instance works properly? Do I have to port the client in order to test my environment?
The text was updated successfully, but these errors were encountered: