The error can be reproduced with this minimal
[tox] envlist = py27 [testenv] deps = numpy scipy patsy statsmodels commands = bash -c "echo ouch..."
Running a dummy
setup.py with this
tox.ini will result in a failure while installing the dependencies:
File "/tmp/toxtest/.tox/py27/build/statsmodels/setup.py", line 463, in <module> check_dependency_versions(min_versions) File "/tmp/toxtest/.tox/py27/build/statsmodels/setup.py", line 107, in check_dependency_versions raise ImportError("statsmodels requires numpy") ImportError: statsmodels requires numpy
One could expect that this error cannot occur, since numpy should have already been installed when statsmodels'
setup.py is run. However that does not seem to be the case.
It's not clear to me if this problem is caused by tox or a bad
Is there a workaround for this problem?
(tested with tox 1.7.1)