Skip to content

Commit

Permalink
ImportError: cannot import name 'tarfile' from 'backports'
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Dec 11, 2024
1 parent cf44050 commit d0de607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/jupyterlab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ USER jovyan
RUN pip install -r requirements.txt --upgrade --no-cache-dir

# Compile NEURON mod files for PyNN
RUN pip install backports.tarfile>=1.2 # temp fix for error: ImportError: cannot import name 'tarfile' from 'backports'
RUN cd /opt/conda/lib/python3.9/site-packages/pyNN/neuron/nmodl && nrnivmodl
# See https://github.com/OpenSourceBrain/osb-model-validation/issues/91 for status of this
RUN pip install 'numpy<=1.23.0' # temp fix for https://levelup.gitconnected.com/fix-attributeerror-module-numpy-has-no-attribute-float-d7d68c5a4971
Expand Down

0 comments on commit d0de607

Please sign in to comment.