-
Notifications
You must be signed in to change notification settings - Fork 0
Issues in installation of packages using pip #95
Comments
Issues in installing Failed to get options via gdal-config: [Errno 2] No such file or directory: 'gdal-config'
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable. I solved this using (ref: this):
$ export PATH=/Library/Frameworks/GDAL.framework/Versions//Programs:$PATH
$ gdal-config --version
pip install Fiona==1.8.17 |
Another error: ERROR: Cannot install -r requirements.txt (line 9) and wrapt==1.12.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested wrapt==1.12.1
astroid 2.3.3 depends on wrapt==1.11.*
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies Solution: had to change the following in -rsa==4.1
+rsa
-wrapt==1.12.1
+wrapt |
Hey Piyush Sorry I was out of circulation for a while. |
Okay, I will note down the second solution! Also, there are a few things in requirements.txt that are not super important, esp for new users. |
Would generally recommend doing |
Do check this out to extract concise requirements: pip-chill |
As per README, I ran
pip install -r requirements.txt
. I am using aconda
environment.cartopy
:I found the following to be useful to fix this on mac:
Will be adding more issues here as I encounter them.
The text was updated successfully, but these errors were encountered: