ubuntu上でtensorflowの環境構築をしようとしたらエラーが発生しました。
コマンドとエラーメッセージは次のとおりです。
【成功したコマンド】
sudo apt-get install libcupti-dev
sudo apt-get install python3-pip python3-dev python-virtualenv
【失敗したコマンド】
xxxxxxxx:~/tensorflow$ virtualenv --system-site-packages -p python3 ~/tensorflow
Running virtualenv with interpreter /home/maty/anaconda3/bin/python3
Using base prefix '/home/maty/anaconda3'
New python executable in /home/maty/tensorflow/bin/python3
Not overwriting existing python script /home/xxx/tensorflow/bin/python (you must use /home/xxx/tensorflow/bin/python3)
/home/xxx/tensorflow/bin/python3: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
Installing setuptools, pkg_resources, pip, wheel...
Complete output from command /home/xxx/tensorflow/bin/python3 - setuptools pkg_resources pip wheel:
/home/xxx/tensorflow/bin/python3: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
...Installing setuptools, pkg_resources, pip, wheel...done.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/virtualenv.py", line 2363, in <module>
main()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 988, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/maty/tensorflow/bin/python3 - setuptools pkg_resources pip wheel failed with error code 127
shared librariesが無いようです。
これは、どの工程でまずかったのでしょうか。
環境は次のとおりです。
ubuntu16.04
anaconda3
python3.6
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー