-
Notifications
You must be signed in to change notification settings - Fork 447
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
Error while installing requirements.txt #92
Comments
Facing the same error. |
Same error here |
In case anyone still has this problem, I got it running like as follows:
Keras==2.2.*
sudo add-apt-repository ppa:deadsnakes/ppa
virtualenv --python=python3.6 myvenv
export TF_BINARY_URL=https://files.pythonhosted.org/packages/cc/7b/5bdce6b6323b314ce44aa5be7b531ba0e70c50ecd18e91bd1823ff9b539d/tensorflow-1.12.3-cp36-cp36m-manylinux1_x86_64.whl
pip install -r contrib/tf_serving/requirements.txt |
Previously it was working but I guess due to some package dependency the error started coming up.
following is the stack trace
pip install -r contrib/tf_serving/requirements.txt
Collecting Keras==2.2.*
Using cached Keras-2.2.5-py2.py3-none-any.whl (336 kB)
Collecting Pillow==5.3.*
Using cached Pillow-5.3.0.tar.gz (15.6 MB)
Collecting tensorflow-serving-api==1.12.*
Using cached tensorflow_serving_api-1.12.3-py2.py3-none-any.whl (39 kB)
Collecting numpy>=1.9.1
Using cached numpy-1.20.0-cp38-cp38-manylinux2010_x86_64.whl (15.4 MB)
Collecting h5py
Using cached h5py-3.1.0-cp38-cp38-manylinux1_x86_64.whl (4.4 MB)
Collecting keras-applications>=1.0.8
Using cached Keras_Applications-1.0.8-py3-none-any.whl (50 kB)
Collecting keras-preprocessing>=1.1.0
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting scipy>=0.14
Using cached scipy-1.6.0-cp38-cp38-manylinux1_x86_64.whl (27.2 MB)
Collecting six>=1.9.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyyaml
Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting grpcio>=1.0<2
Using cached grpcio-1.35.0-cp38-cp38-manylinux2014_x86_64.whl (4.1 MB)
ERROR: Could not find a version that satisfies the requirement tensorflow<2,>=1.2.0 (from tensorflow-serving-api==1.12.->-r contrib/tf_serving/requirements.txt (line 3)) (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0, 2.4.1)
ERROR: No matching distribution found for tensorflow<2,>=1.2.0 (from tensorflow-serving-api==1.12.->-r contrib/tf_serving/requirements.txt (line 3))
The text was updated successfully, but these errors were encountered: