Skip to content

ImportError: numpy.core.multiarray failed to import #518 #524

Answered by biglimp
jency-phj asked this question in Q&A
Discussion options

You must be logged in to vote

Here is the thing: In Windows you also have a User-folder (C:\Users). In there you have a folder (C:\Users\your_username\AppData\Roaming\Python\Python39) where python-packages also can be located, especially if you dont have admin rights on your computer. When you install UMEP we put python packages in this location using e.g. python -m pip install numpy -U --user. Otherwise, people with non-admin rights would not be able to install and/or update packages. If you do pip uninstall numpy it might just happen that you uninstalled one of the two numpy packages and end up with version conflicts.

As I mentioned, the new version of UMEP now works with the numpy installation that comes with OSGeo.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jency-phj
Comment options

@biglimp
Comment options

@jency-phj
Comment options

@biglimp
Comment options

Answer selected by jency-phj
@jency-phj
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants