We are currently running our own private PyPi server, and uploading wheels of our internal Python libraries to speed up installs.
Many of our tools require numpy, scipy, pandas, etc.
We built wheels for all of our dependencies by installing all of our dependencies from source, and then using
pip wheel .
which outputs wheels for all of our dependencies - or so we thought.
We have found that when we install, say, numpy from our private PyPi, where it is available as a wheel, the following happens.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "redacted/lib/python2.7/site-packages/numpy/__init__.py", line 199, in <module>
from . import random
File "redacted/site-packages/numpy/random/__init__.py", line 99, in <module>
from .mtrand import *
ImportError: redacted/lib/python2.7/site-packages/numpy/random/mtrand.so: undefined symbol: PyFPE_jbuf
It is clear to me that these wheels were not created properly. What is not clear to me is how to go around fixing this. We are not distributing these to the public, only for our internal tools.