7/2/2023 0 Comments Anaconda download numpy![]() ![]() Using /usr/local/lib/python2.7/dist-packagesįinished processing dependencies for numpyĪfter that I could use TensorFlow without error. Please make sure to chose the version specified in the tutorial you. Removing numpy 1.8.2 from easy-install.pth fileĪdding numpy 1.11.3 to easy-install.pth file Download anaconda for your system: Choose either the python 3.X or the python 2.X version. I followed Elmira's and Drew's solution, sudo easy_install numpy, and it worked! sudo easy_install numpy Please exit the tensorflow source tree, and relaunch your python interpreter We are pleased to announce that Python 3. You should not try to import tensorflow from its source directory ImportError: failed to importĮrror importing tensorflow. _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description) ![]() Ps: I already have numpy library installed into my base conda environment. _pywrap_tensorflow = swig_import_helper()įile "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper Okay so what I'm observing is - when I'm trying to install numpy into a new conda environment using the above mentioned command, it is not working if I switch off the internet connection and is working perfectly fine when my internet is connected. ImportError: Traceback (most recent call last):įile "/usr/local/lib/python2.7/dist-packages/tensorflow/python/_init_.py", line 49, in įrom tensorflow.python import pywrap_tensorflowįile "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in FYI, when you using or importing TensorFlow, a similar error may occur, like (caused by NumPy): RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9įile "/usr/local/lib/python2.7/dist-packages/tensorflow/_init_.py", line 23, in įile "/usr/local/lib/python2.7/dist-packages/tensorflow/python/_init_.py", line 60, in ![]()
0 Comments
Leave a Reply. |