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
In a venv with Python 3.12 and bluepyopt installed from PyPI:
>>> from bluepyopt.ephys import simulators
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "~/tmp/blue/venv/lib64/python3.12/site-packages/bluepyopt/ephys/__init__.py", line 25, in <module>
from . import simulators # NOQA
^^^^^^^^^^^^^^^^^^^^^^^^
File "~/tmp/blue/venv/lib64/python3.12/site-packages/bluepyopt/ephys/simulators.py", line 7, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
Module imp has been removed from Python 3.12.
The text was updated successfully, but these errors were encountered:
Hi, at the moment bluepyopt is not supporting Python 3.12 primarily because the NEURON simulator has not yet released the necessary wheel files for Python 3.12: https://pypi.org/project/NEURON/#files.
Thanks for creating the issue, we will certainly take this into account as we work towards updating BluePyOpt for Python 3.12 compatibility.
Python 3.12 was added in a1f470b, making version 1.14.11 officially supporting Python 3.12. Has the imp issue been addressed? IOW, can this issue be closed?
In a venv with Python 3.12 and bluepyopt installed from PyPI:
Module imp has been removed from Python 3.12.
The text was updated successfully, but these errors were encountered: