[Numpy-discussion] runtests.py fails f2py test
ralf.gommers at gmail.com
Tue Jul 19 17:11:20 EDT 2016
On Fri, Jul 15, 2016 at 3:50 PM, Matti Picus <matti.picus at gmail.com> wrote:
> 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>
> TypeError: setup() got multiple values for keyword argument 'version'
f2py isn't supposed to be installed standalone, I'm not surprised that that
> Can someone give me a one-line hint what I am doing wrong?
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion