Closed DaveOri closed 3 years ago
Considering the recent efforts to move to python3 this issue will be soon outdated. Also to keep backward compatibility with other Ubuntu versions the best is to invoke make with overriding variables F2PY=/path/to/the/correct/f2py Closed
Makefile favors the use of f2py2.7 over f2py In Ubuntu 20.04 the former is not overwritten by pip installed numpy (probably because pip is not in official repositories anymore), this causes users to have the code compiled against wrong numpy if they follow the installation instructions.
As an easy workaround, all Makefiles should favor f2py (also py_usStandard). This fix does not break the installation on Ubuntu 16.04 and 18.04 since both f2py and f2py2.7 are pointing to the pip installed numpy there.