Невозможно установить Tensorflow с PyPy3.5 v7 на Ubuntu-16.04 - PullRequest
0 голосов
/ 03 мая 2019

Я пытаюсь установить tenorflow == 1.0.0 на ubuntu16.04 с дистрибутивом Python PyPy3.5.

Мне удалось получить numy и все другие библиотеки, импортированные в оболочку Python3-PyPy, кроме Tensorflow, при импорте я получаю следующую трассировку:

'''
Traceback (most recent call last):
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/pywrap_tensorflow.py", line 18, in swig_import_helper
    fp, pathname, description = imp.find_module('_pywrap_tensorflow', [dirname(__file__)])
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/lib-python/3/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/__init__.py", line 61, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/pywrap_tensorflow.py", line 20, in swig_import_helper
    import _pywrap_tensorflow
ImportError: No module named '_pywrap_tensorflow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/__init__.py", line 72, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/pywrap_tensorflow.py", line 18, in swig_import_helper
    fp, pathname, description = imp.find_module('_pywrap_tensorflow', [dirname(__file__)])
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/lib-python/3/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/__init__.py", line 61, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "/home/ubuntu/pypy3.5-v7.0.0-linux64/site-packages/tensorflow/python/pywrap_tensorflow.py", line 20, in swig_import_helper
    import _pywrap_tensorflow
ImportError: No module named '_pywrap_tensorflow'


Failed to load the native TensorFlow runtime.

See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.'''
...