We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since tensorflow is a strict requirement it should be included in the install_requires argument in setup.py. Installing tf_slim on a fresh venv gives:
install_requires
[]$ python3 -m venv venv []$ source venv/bin/activate (venv) []$ pip install tf_slim Collecting tf_slim Using cached tf_slim-1.1.0-py2.py3-none-any.whl (352 kB) Collecting absl-py>=0.2.2 Downloading absl_py-0.13.0-py3-none-any.whl (132 kB) Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Installing collected packages: six, absl-py, tf-slim Successfully installed absl-py-0.13.0 six-1.16.0 tf-slim-1.1.0 (venv) []$ python Python 3.6.8 (default, Apr 25 2019, 21:02:35) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tf_slim Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/bloer/temp/venv/lib64/python3.6/site-packages/tf_slim/__init__.py", line 25, in <module> from tf_slim.layers import * File "/home/bloer/temp/venv/lib64/python3.6/site-packages/tf_slim/layers/__init__.py", line 23, in <module> from tf_slim.layers.bucketization_op import * File "/home/bloer/temp/venv/lib64/python3.6/site-packages/tf_slim/layers/bucketization_op.py", line 23, in <module> from tensorflow.python.ops import math_ops ModuleNotFoundError: No module named 'tensorflow'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since tensorflow is a strict requirement it should be included in the
install_requires
argument in setup.py. Installing tf_slim on a fresh venv gives:The text was updated successfully, but these errors were encountered: