-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
When running peptide.py with numpy 2.0 and espresso v4.2.2 there seems to be an issue.
python3 samples/peptide.py
Traceback (most recent call last):
File ".../samples/peptide.py", line 21, in <module>
import espressomd
File ".../espresso-v422/build/src/python/espressomd/__init__.py", line 21, in <module>
from . import _init
File "_init.pyx", line 1, in init espressomd._init
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObjectThere is a fix which can be found on stackoverflow that basically suggests to downgrade the numpy version with
(pymbe) pip install "numpy<2"
Did not run into this problem with espresso v4.3 and numpy v2.0
Metadata
Metadata
Assignees
Labels
No labels