Ubuntu 12.04 LTS 시스템에서 TensorFlow에 대해 Anaconda installation을 시도했지만 Python에서 라이브러리를 가져 오는 동안 아래에 표시된 ImportError가 나타납니다.Ubuntu 12.04 LTS에서 Tensorflow를 결과로 가져올 수 없습니다.
나는 비슷한 스레드에 대해 주어진 solution을 통해 갔지만, 나에게는 도움이되지 못했습니다.
은 기본적으로 여기에 내가 설치에 무슨 짓을했는지 : 다음
$ conda create -n tensorflow python=2.7
$ source activate tensorflow
(tensorflow)$ conda install -c conda-forge tensorflow
(tensorflow)$ source deactivate
$ source activate tensorflow
VIRTUALENV 내에서 내가 파이썬을로드하고, tensorflow를 가져올 시도에서. 내가 가진 것은 다음과 같은 오류입니다 :
>>> import tensorflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anirudh/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/__init__.py", line 23, in <module>
from tensorflow.python import *
File "/home/anirudh/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 48, in <module>
from tensorflow.python import pywrap_tensorflow
File "/home/anirudh/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
_pywrap_tensorflow = swig_import_helper()
File "/home/anirudh/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /home/anirudh/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)
어떻게 정렬합니까?
왜 4 년 된 OS 릴리스를 고집합니까? –
내 컴퓨터 하드웨어가 소프트웨어 업그레이드와 호환되지 않습니다. 업그레이드하면 재부팅시 그래픽 드라이버가 실패합니다. Dell Vostro 3445 노트북이 있습니다. – Anirudh
죄송합니다. –