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
The mpi issue with nrniv -python was indeed due to conflicts between anaconda and venv
the issue is more general and results in an error if you run nrninv -python and then from neuron import h
those installation instructions were for Windows -> WSL, and then entirely within a Conda environment on Rocky Linux. I think this will just be a reoccurring issue of varying significance as new environments occur. Should we just close for now and just reopen as necessary for specific OS / (widely used) hardware?
On that note, I managed to pull off the installation of mpi, neuron and python without using brew after I got my MacBook, so it may be possible that everything can be handled through Conda at this point, though picking the right mpi binary will still be an issue per OS per hardware.
The mpi issue with nrniv -python was indeed due to conflicts between anaconda and venv
the issue is more general and results in an error if you run nrninv -python and then from neuron import h
it’s likely that this is gonna be an issue for many people since anaconda quite popular (and actually recommended by NEURON website)
eg see the end of this tutorial, they had same issue: https://nickgeorge.net/programming/NEURON-neuronal-modeling-software-and-python-with-virtual-environments/
I solved it by using brew install open-mpi but then also had to change paths inside the venv (add to bashrc or bin/activate):
export PYTHONPATH=/u/salvadord/venvs/neuron78/lib/python3.8/site-packages:$PYTHON
export PATH=/usr/local/bin/:$PATH
The text was updated successfully, but these errors were encountered: