pip - Make Python libraries installed with requirements.txt immediately available -


here's simple requirements.txt:

numpy sharedmem 

the problem is, sharedmem depends on having numpy available run setup.py, it's install dependency. running pip install -r requirements.txt try install numpy first, expected, sharedmem still breaks on trying import numpy.distutils.core. presumably because pip installs libraries temporary build directory first , it's not in import path.

any ideas on how deal it?

p.s. looks dupe: in python, `pip -r requirements.txt` doesn't install packages *recursively*?, problem wasn't resolved there either.


Comments