You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First. I was completely unaware that there was a pip show neuron or that it ever worked :)
I see that the issue is also with the present version 9 neuron master.
One reason why I would expect it not to work (and the puzzle is why it ever did) is that on windows, NEURON is not installed with pip and the neuron module is not in python site-packages but in c:\nrn\lib\python and the module is found via the PYTHONPATH environment variable (defined when the setup.exe installs c:/nrn and sets various registry variables)
I'm going to speculate that the installer needs to do one more magic incantation so that pip is aware that the neuron module exists (via PYTHONPATH).
I think even if PYTHONPATH is modified, pip show neuron still wouldn't work because pip would not be able to find the metadata associated with the package, i.e. the [PACKAGE]-[VERSION].dist-info directory is missing (even though python -c 'import neuron;print(neuron.__file__)' will point to the correct __init__.py file), so the real fix would be to create the [PACKAGE]-[VERSION].dist-info directory (maybe via a special CMake target) and ship it with the installer.
Context
Overview of the issue
Previous version of NEURON had their windows installation visible to pip, allowing python modules to check for the presence of NEURON on install
Now the following occurs in 8.2.4:
NEURON setup
The text was updated successfully, but these errors were encountered: