Closed Tracy-coder closed 2 months ago
Getting the same error with the following environment:
$ pip list
Package Version
-------- -------
numpy 2.0.0
pip 24.1.1
PyMCubes 0.1.4
scipy 1.14.0
and Python 3.12.2 and Windows 10
Indeed, there is a problem with the versions in the requirements of PyMCubes, and the precompiled packages available in pip do not yet support NumPy 2.0.
While I fix this (and possibly add support for NumPy 2.0), you can downgrade to NumPy 1.26 with
python -m pip install 'numpy~=1.26.0'
(or similar with your package manager if you don't use pip).
Thanks for reporting this and sorry for the inconvenience.
I just uploaded a new version of PyMCubes. Just upgrade with:
python -m pip install --upgrade pymcubes
This problem should be fixed now. Thanks!
When I import mcubes in my python file,an error occurs.I'm very confused and wondering if anyone is having the same problem.
environment: Python 3.10.0 PyMCubes 0.1.4 numpy 2.0.0