serving icon indicating copy to clipboard operation
serving copied to clipboard

tensorflow-serving-api don't support python 3.x officially?

Open scotthuang1989 opened this issue 9 years ago • 9 comments

I get an error: " Could not find a version that satisfies the requirement tensorflow-serving-api (from versions: ) No matching distribution found for tensorflow-serving-api " when I try to execute this command: pip install tensorflow-serving-api so I google around, find that this lib only have py2 version. But, I don't see other people complain about it. So, I am not sure I am doing it wrong or I need compile this lib myself?

scotthuang1989 avatar Aug 31 '17 08:08 scotthuang1989

Yes, only py2 version

wenfeixiang1991 avatar Aug 31 '17 10:08 wenfeixiang1991

ok. thanks.

scotthuang1989 avatar Aug 31 '17 13:08 scotthuang1989

Currently our pip package only supports python 2. We are looking into adding python 3 support.

chrisolston avatar Sep 05 '17 17:09 chrisolston

Yes, I need that one too, as my client environment is py3, keep posted

KevinZhao avatar Sep 07 '17 08:09 KevinZhao

I am trying to install Tensor-flow serving on Windows 10 64-bit machine, where tensor-flow installation can not happen with python 2, atleast python 3.5 is required.

Is there any workaround?

Sources: Internet

kavishrastogi avatar Sep 07 '17 12:09 kavishrastogi

Just download the package, and extract the source files, put them in the root of your project, and import just like you have installed the package. It will be ok in python3.6.

jacklone avatar Dec 07 '17 08:12 jacklone

Ok Thanks

kavishrastogi avatar Dec 16 '17 13:12 kavishrastogi

Yes, pip installation is not yet supported for Python 3.x. Here's a workaround -

  • Follow Installation > Prerequisites > Bezel (Steps 1 & 2) from here.

  • Copy the folder (unzipped) and paste it in /Users/<username>/anaconda3/lib/python3.6/site-packages/

  • Import as usual.

PS - If you are not using anaconda or if your python is configured differently, you can still find the location of site-packages by importing any working library first and then execute .file

Example:

import numpy numpy.__file__ '/Users/<username>/anaconda3/lib/python3.6/site-packages/numpy/__init__.py'

pruthvishetty avatar Jan 24 '18 05:01 pruthvishetty

Any news regarding the python 3?

ndvbd avatar Mar 07 '18 20:03 ndvbd