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

issue with path to dll on windows #2665

Open
ReimarBauer opened this issue Mar 3, 2025 · 0 comments
Open

issue with path to dll on windows #2665

ReimarBauer opened this issue Mar 3, 2025 · 0 comments

Comments

@ReimarBauer
Copy link
Member

ReimarBauer commented Mar 3, 2025

On a windows installation I found today that something with the pathes for DLL are not doing as expected.
I assume that this happens because of some configuration on that windows which gets a precedence for the pathes which should become used.

The problem shows up by:

Last login: Mon Mar  3 14:07:40 on console
  3   File "\\?\C:\Users\User\.pixi\envs\mss\Scripts\msui-script.py", line 33, in <module>
  4     sys.exit(load_entry_point('open-mss==10.0.0', 'console_scripts', 'msui')())
  5 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  7     return next(matches).load()
  8            ^^^^^^^^^^^^^^^^^^^^
 11              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 12   File "C:\Users\User\.pixi\envs\mss\Lib\importlib\__init__.py", line 126, in import_module
 13     return _bootstrap._gcd_import(name[level:], package, level)
 14            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 15   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
 16   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
 17   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
 18   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
 19   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
 20   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
 21   File "C:\Users\User\.pixi\envs\mss\Lib\site-packages\mslib\msui\msui.py", line 41, in <module>
 22     from mslib.msui.msui_mainwindow import MSUIMainWindow
 23   File "C:\Users\User\.pixi\envs\mss\Lib\site-packages\mslib\msui\msui_mainwindow.py", line 46, in <modu    le>
 24     from mslib.msui import flighttrack as ft
 25   File "C:\Users\User\.pixi\envs\mss\Lib\site-packages\mslib\msui\flighttrack.py", line 50, in <module>
 26     from mslib.utils.coordinate import path_points, get_distance
 27   File "C:\Users\User\.pixi\envs\mss\Lib\site-packages\mslib\utils\coordinate.py", line 29, in <module>
 28     import netCDF4 as nc
 29   File "C:\Users\User\.pixi\envs\mss\Lib\site-packages\netCDF4\__init__.py", line 3, in <module>
 30     from ._netCDF4 import *
 31 ImportError: DLL load failed while importing _netCDF4: Die angegebene Prozedur wurde nicht gefunden.
 32 PS C:\Users\User>

We could now in a python shell import for example the problematic module first and then load the msui module. After execution a different DLL failure occures.

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

No branches or pull requests

1 participant