pip installation error “No such file or directory: setup.py”

后端 未结 5 1382
耶瑟儿~
耶瑟儿~ 2021-02-05 01:49

I\'m getting installation error because pip couldn\'t find setup.py.

sudo pip install https://storage.googleapis.com/ten         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-05 02:24

    I'm using ubuntu 12.04 64bits. I solve this issue by:

    mkdir -p ~/code/download/lib/tensorflow/
    cd ~/code/download/lib/tensorflow/
    virtualenv --system-site-packages tensorflow_for_ubuntu12_04_64bit_python2_7
    source tensorflow_for_ubuntu12_04_64bit_python2_7/bin/activate
    cd tensorflow_for_ubuntu12_04_64bit_python2_7
    pip install --upgrade tensorflow
    

提交回复
热议问题