Open-MSS / MSS

A QT application, a OGC web map server, a collaboration server to plan atmospheric research flights.
https://open-mss.github.io
Apache License 2.0
56 stars 67 forks source link

issue with pyproj and DLL failure on Windows / installation with PIXI #2439

Open tjschuckiau opened 1 month ago

tjschuckiau commented 1 month ago

I was experiencing issues installing the new version of MSS in a conda environment on windows 10 with Python 3.11.9 the error that occured resulted from the following import statement:

from pyproj import _network

File "(...)\envs\mssenv\Lib\site-packages\pyproj\network.py", line 10, in from pyproj._network import ( # noqa: F401 pylint: disable=unused-import ImportError: DLL load failed while importing _network: Das angegebene Modul wurde nicht gefunden.

I found a recommandation to fix this by installing Latest Microsoft Visual C++ Redistributable Version which did not work for me.

Installing only pyproj in a clean conda environment did work, also the above imoprt statement did work thereafter. As soon as mss was installed in addition, the above error occurred.

ReimarBauer suggested the following solution which worked fine for me:

Installing pixi for windows (https://pixi.sh/latest/) in windows powershell (as admin) and use pixi to install mss

iwr -useb https://pixi.sh/install.ps1 | iex pixi global install mss

Starting MSUI now works as follwos:

ReimarBauer commented 1 month ago

see also https://github.com/Open-MSS/mss-install/issues/25