[pypy-issue] Issue #2468: Should make header files compatible (pypy/pypy)

Wang Xuancong issues-reply at bitbucket.org
Tue Jan 17 21:15:02 EST 2017


New issue 2468: Should make header files compatible
https://bitbucket.org/pypy/pypy/issues/2468/should-make-header-files-compatible

Wang Xuancong:

Dear PyPy developers,

When I run "pypy -m pip install --upgrade tensorflow-*.whl", I typically get the following error:
```
tensorflow-0.11.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.
```

The reason is because some of the dynamic libraries of tensorflow (such as _pywrap_tensorflow.so) is compiled and linked against Python headers instead of PyPy headers.

If you really want PyPy to have maximal compatibility with Python, I suggest you to make PyPy to be able to import *.so on both Python headers and PyPy headers, maybe with a sacrifice of performance for *.so with Python headers. Otherwise, a lot of pip packages for Python cannot be installed under PyPy, which is quite a disappointment.




More information about the pypy-issue mailing list