-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error in magic_calib_to_dl1.py with MCP-v0.3.1 #235
Comments
I think I have solved the issue for now. There were a lot of version incompatibilities with numpy 1.21.6.
Then several packages needed recompilation according to these downgraded packages. So, I had to follow these steps:
Now, "magic_calib_to_dl1.py" is working properly with MCP-0.3.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While running magic_calib_to_dl1.py, it produced the following error message:
"
RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe
Traceback (most recent call last):
File "magic_calib_to_dl1.py", line 47, in
from astropy import units as u
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/astropy/init.py", line 42, in
from . import config as _config # noqa: E402
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/astropy/config/init.py", line 10, in
from .configuration import *
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/astropy/config/configuration.py", line 24, in
from astropy.utils import find_current_module, silence
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/astropy/utils/init.py", line 18, in
from .decorators import * # noqa
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/astropy/utils/decorators.py", line 15, in
from .exceptions import (AstropyDeprecationWarning, AstropyUserWarning,
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/astropy/utils/exceptions.py", line 11, in
from erfa import ErfaError, ErfaWarning # noqa
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/erfa/init.py", line 5, in
from .version import version as version # noqa
File "/home/abhradeep.roy/miniconda3/envs/magic-lst1_v0.3.1/lib/python3.8/site-packages/erfa/version.py", line 25, in
from . import ufunc
ImportError: numpy.core.multiarray failed to import
"
Probably the reason is version incompatibility between various dependencies.
The text was updated successfully, but these errors were encountered: