33

pip が setup.py を見つけられなかったため、インストール エラーが発生しました。

sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

このエラー メッセージが表示されます。

Downloading/unpacking https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Downloading tensorflow-0.5.0-cp27-none-linux_x86_64.whl (10.9Mb): 10.9Mb downloaded
Running setup.py egg_info for package from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-GdGgbz-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/tmp/pip-GdGgbz-build/setup.py'

誰でもこの問題を解決する方法を教えてもらえますか?

ありがとう。

4

5 に答える 5

17

https://github.com/tensorflow/tensorflow/issues/56から

入力するコマンドは"pip install --upgrade pip"です。これは、ユーザーに"source bin/activate"を指示する直後の指示に追加する必要があります 。

于 2015-11-12T19:56:37.123 に答える
2

Tensorflow には python -V 2.7 が必要です。多くのマシンがシステムのビルドに安定した 2.6 バージョンの Python を使用しているため、Python 2.7 の並列/代替インストールをお勧めします。次に、2.7 バージョンの python インタープリターで pip をインストールできます。下記を参照してください:

#sudo wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
#sudo python2.7 ez_setup.py
#easy_install-2.7 pip
#sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
于 2015-11-23T00:19:45.283 に答える