runtests.py fails f2py test
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> **config) TypeError: setup() got multiple values for keyword argument 'version' Can someone give me a one-line hint what I am doing wrong? Matti
On Fri, Jul 15, 2016 at 3:50 PM, Matti Picus
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.
I can confirm that runtests.py doesn't install f2py into the virtualenv bin directory. This issue is hard to run into though, because if you've ever installed numpy on your system before (outside a virtualenv), then you probably already have f2py on your PATH (it's at .local/bin/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> **config) TypeError: setup() got multiple values for keyword argument 'version'
f2py isn't supposed to be installed standalone, I'm not surprised that that doesn't work. Ralf
Can someone give me a one-line hint what I am doing wrong? Matti _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Matti Picus
-
Ralf Gommers