Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: numpy.core.multiarray failed to import with numpy 2.0.2 #1074

Open
zdxerr opened this issue Aug 30, 2024 · 1 comment
Open

ImportError: numpy.core.multiarray failed to import with numpy 2.0.2 #1074

zdxerr opened this issue Aug 30, 2024 · 1 comment

Comments

@zdxerr
Copy link

zdxerr commented Aug 30, 2024

Python version

3.12

Traceback

from asammdf import MDF
File "C:\TS\BM_TS.env\Lib\site-packages\asammdf_init_.py", line 20, in
from .mdf import MDF, SUPPORTED_VERSIONS
File "C:\TS\BM_TS.env\Lib\site-packages\asammdf\mdf.py", line 40, in
from .blocks.mdf_v2 import MDF2
File "C:\TS\BM_TS.env\Lib\site-packages\asammdf\blocks\mdf_v2.py", line 8, in
from .mdf_v3 import MDF3
File "C:\TS\BM_TS.env\Lib\site-packages\asammdf\blocks\mdf_v3.py", line 51, in
from .cutils import get_channel_raw_bytes
ImportError: numpy.core.multiarray failed to import

Description

I get import errors when using asammdf with numpy 2.0.2

@Simsalabim1234
Copy link

Simsalabim1234 commented Oct 31, 2024

I have the same issue when trying to install asammdf 8.0.1 and numpy 2.1.2 in the same Dockerimage. Is there any progress on this issue?

53.54 ERROR: Cannot install -r /root/python/requirements.txt (line 3) and numpy==2.1.2 because these package versions have conflicting dependencies.
53.54
53.54 The conflict is caused by:
53.54 The user requested numpy==2.1.2
53.54 asammdf 8.0.1 depends on numpy<2.0.0 and >=1.23.0
53.54
53.54 To fix this you could try to:
53.54 1. loosen the range of package versions you've specified
53.54 2. remove package versions to allow pip attempt to solve the dependency conflict
53.54
53.54 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants