What are the requirements to install TensorFlow with python 3? -
i trying install tensorflow enabled gpu. using instructions form the official site. first, created environment:
conda create --name tf_py3_tf_gpu python=3.5
then activated environment , got version appropriate machine:
export tf_binary_url=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow-0.10.0rc0-py3-none-any.whl
then went ahead , ran pip3 install:
(tf_py3_tf_gpu)user~/envs/tf_py3_tf_gpu/lib/python3.5/site-packages $ pip3 install --upgrade $tf_binary_url
but error:
-bash: pip3: command not found
however, cluster connecting not allow me use apt-install install pip3 (if there way install conda environment or of style awesome! allowed , have normal pip).
anyway went ahead , did normal pip see if worked:
pip install --ignore-installed --upgrade $tf_binary_url
however, failed message:
(tf_py3_tf_gpu)user~/envs/tf_py3_tf_gpu/lib/python3.5/site-packages $ pip install --upgrade $tf_binary_url collecting tensorflow==0.10.0rc0 https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow-0.10.0rc0-py3-none-any.whl using cached https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow-0.10.0rc0-py3-none-any.whl requirement up-to-date: numpy>=1.10.1 in /home/user/envs/tf_py3_tf_gpu/lib/python3.5/site-packages (from tensorflow==0.10.0rc0) requirement up-to-date: six>=1.10.0 in /home/user/envs/tf_py3_tf_gpu/lib/python3.5/site-packages (from tensorflow==0.10.0rc0) collecting protobuf==3.0.0b2 (from tensorflow==0.10.0rc0) using cached protobuf-3.0.0b2-py2.py3-none-any.whl requirement up-to-date: wheel>=0.26 in /home/user/envs/tf_py3_tf_gpu/lib/python3.5/site-packages (from tensorflow==0.10.0rc0) collecting setuptools (from protobuf==3.0.0b2->tensorflow==0.10.0rc0) using cached setuptools-26.0.0-py2.py3-none-any.whl installing collected packages: setuptools, protobuf, tensorflow found existing installation: setuptools 25.1.6 cannot remove entries nonexistent file /home/user/envs/tf_py3_tf_gpu/lib/python3.5/site-packages/easy-install.pth
for reason needs /home/user/envs/tf_py3_tf_gpu/lib/python3.5/site-packages/easy-install.pth
have no idea why needs. error unclear me if error due pip or error or caused it.
unfortunately don't know how install pip3 in cluster connecting because not have privilege install it. did try running command normal pip not seem work. ideas how fix this? or install pip3 or of sort? happy clarify tools allowed use on cluster (like i'm allowed use normal pip , use conda environments).
update:
actually, seems using pip version python 3 (even though command not called pip3, not sure if makes difference ought mention this):
(tf_py3_tf_gpu)user/path $ pip --version pip 8.1.2 /home/user/envs/tf_py3_tf_gpu/lib/python3.5/site-packages (python 3.5)
verify if pip
not in bin
folder of virtualenv.
try using /path/to/python -m pip [...]
make sure using right pip
rename ~/.local
folder because conda venv try use them if unrelated install
try pip install --user [...]
, if else fails.
Comments
Post a Comment