[Numpy-discussion] runtests.py fails f2py test

Matti Picus matti.picus at gmail.com
Fri Jul 15 09:50:37 EDT 2016

Am I missing something simple? I
- install git, subversion, gcc, gfortran (Ubuntu 16.04)
- create a clean python2 virtual env (no numpy)
- activate it
- git clone numpy
- cd into it
- python runtests.py
- wait
And it fails tests because it cannot find f2py.

Then I
- python setup.py install # to install numpy
- cd numpy/f2py
- python setup.py build
And setup fails:

F2PY Version 2
Traceback (most recent call last):
   File "setup.py", line 117, in <module>
TypeError: setup() got multiple values for keyword argument 'version'

Can someone give me a one-line hint what I am doing wrong?

More information about the NumPy-Discussion mailing list