f2py executable not getting installed on windows
See original GitHub issueAccording to the docs for f2py, which is installed with numpy, it should be sufficient to execute this command at the shell to call f2py:
f2py
But this fails because on windows, the only file installed is f2py.py, which is not accessible as f2py at the shell.
At one point, I don’t remember when, a script/executable was packaged along with the script that did this properly…
See also: https://github.com/ContinuumIO/anaconda-issues/issues/259#issuecomment-207591726
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
f2py.exe is somewhere, but the directory isn't on path
On Windows 10: Click start, search for "environment variables". or. use windows + R key to run command, run the following "sysdm.cpl" then ......
Read more >F2PY and Windows — NumPy v1.25.dev0 Manual
Get -Command python.exe resolving to C:\Users\$USERNAME\AppData\Local\Microsoft\WindowsApps\python.exe. The Microsoft Visual C++ (MSVC) toolset. With this ...
Read more >[Example code]-f2py installation not working under Windows
Coding example for the question f2py installation not working under Windows. ... In 2016, you should be able to run f2py as an...
Read more >f2py.exe File Download & Fix For All Windows OS - Pconlife.com
Tip: If you cannot find the software installation path, you can follow the path suggested above, find one by one, and put the...
Read more >[f2py] Specific problems in using f2py on Windows for newbie
To get C and Fortran compilers, I also installed MinGW using the prepackaged executable version 0.3-alpha-2.1. It includes MSYS, although I did not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Stumbled across this discussion when trying to fix the same issue as @ianhbell. I found an existing commit that addresses this by making
python -m numpy.f2py
executable from the command line: https://github.com/numpy/numpy/pull/5565.This works on my Windows machine. It’s still a discrepancy with the docs, but it definitely beats typing in the full path, and it seems to play nice with my different conda environments.
Leaving this open for a bit.