Closed spinnak3r closed 11 months ago
Sounds like an issue with your PYTHONPATH.
I have the same problem, @spinnak3r did you manage to fix it?
@donidona No, I didn't. I even asked two lab colleagues to try to install it too but they get the same error. The package remains, at least to us, unusable.
Installing the igrf package from pip removed the igrf import error, but aep8 is only available locally and that error remains. In my opinion there must be something missing in the __init__.py
file.
Is this fixed in version 0.1.4?
I have the same problem with version 0.1.4
@lpsinger thanks for the quick support, however the problem still persists:
ImportError: DLL load failed while importing core: The specified module could not be found.
I think that #43 will fix this once I do a release, but I have to debug some Windows build issues first.
What operating system, architecture, and Python distribution are you using? How are you installing radbelt?
Installing the igrf package from pip removed the igrf import error
The igrf package on PyPI is not related to this package, and it is not a dependency.
I installed radbelt 0.1.4 using git clone https://github.com/nasa/radbelt.git
and pip install .
and get the error ImportError: DLL load failed while importing core: The specified module could not be found.
Yes, that’s the issue I’m seeing too in the GitHub Actions pipeline.
It should be fixed now on Linux and macOS. Windows will take longer because I don’t use Windows and I am not familiar wi to the Windows compiler and linker tool chain.
It looks like the Windows build has never worked. Unfortunately, I don't have sufficient expertise with Windows to debug it myself. Pull requests are welcome. See https://github.com/nasa/radbelt#known-issues and #47.
@spinnak3r, based on your initial report, it looks like you are using Linux. I just released version 0.1.5. Do you find that version 0.1.5 fixes your issue on Linux?
Hi,
I installed the package on a new python environment (I have tried python 3.8 and 3.10), but I simply get this error when I try to run the example.
Traceback (most recent call last): File "/home/lubuntu/RB/radbelt/test.py", line 1, in <module> from radbelt import get_flux File "/home/lubuntu/RB/radbelt/radbelt/__init__.py", line 15, in <module> from .core import igrf as _igrf, aep8 as _aep8 ModuleNotFoundError: No module named 'radbelt.core'
Any idea what the problem is? Thank you