tox fails to install statsmodels due to missing numpy dependency.

Issue #184 on hold
christian roth created an issue

The error can be reproduced with this minimal tox.ini:

envlist = py27

deps =
commands =
  bash -c "echo ouch..."

Running a dummy with this tox.ini will result in a failure while installing the dependencies:

  File "/tmp/toxtest/.tox/py27/build/statsmodels/", line 463, in <module>


  File "/tmp/toxtest/.tox/py27/build/statsmodels/", line 107, in check_dependency_versions

    raise ImportError("statsmodels requires numpy")

ImportError: statsmodels requires numpy

Which comes from:

One could expect that this error cannot occur, since numpy should have already been installed when statsmodels' 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)

Comments (3)

  1. Log in to comment