Skip to content

Commit

Permalink
Install NumPy<2 after everything else, unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Jul 23, 2024
1 parent bb0a1c3 commit e22bc6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/buildNeuron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ else
pip install --upgrade plotly "ipywidgets>=7.0.0"
fi
if [[ -f external/nmodl/requirements.txt ]]; then
pip install --upgrade -r external/nmodl/requirements.txt 'numpy<2'
pip install --upgrade -r external/nmodl/requirements.txt
fi
# Needed for installation of older NEURON versions with Python 12
pip install --upgrade setuptools
# NumPy 2 support is currently not there yet
pip install 'numpy<2'

# Set default compilers, but don't override preset values
export CC=${CC:-gcc}
Expand Down

0 comments on commit e22bc6c

Please sign in to comment.