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 pyproj and DLL failure on Windows / installation with PIXI #2439

Open
tjschuckiau opened this issue Jul 18, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@tjschuckiau
Copy link

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:

  • open windows powershell as admin
  • execute command msui
  • IMPORTANT after a second hit 'enter' a second time
@ReimarBauer ReimarBauer added the question Further information is requested label Jul 18, 2024
@ReimarBauer
Copy link
Member

see also
Open-MSS/mss-install#25

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

No branches or pull requests

2 participants