-
Notifications
You must be signed in to change notification settings - Fork 5
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
pip is not installed
error after apparently successful installation
#2
Comments
Hmm, it might be that the code for checking if pip is installed isn't working correctly. Can you access pip from the command line? What happens if you enter the command If that works, then could you please try running the command |
Ok looks like Running Full output here: C:\Users\rsenior\Documents\global-protected-areas-master>make all make: *** [Makefile:143: data/intermediate/1/WDPA_shapefile_polygons.gdb] Error 1 C:\Users\rsenior\Documents\global-protected-areas-master>make all make: *** [Makefile:90: data/intermediate/4/WDPA_shapefile_polygons.gdb] Error 1 |
Ok, I'm sorry I don't know if I can be much more help. I haven't encountered those errors before when running the code. Is it possible the issue with the repair geometry tool is because I'm running an earlier version of ArcMap (version 10.3)? Also, could the out of memory error be due to differences in the amount of RAM on our systems (my system 16 GB RAM)? In terms of addressing these issue, if you manually open the data in the |
Thanks for your help and suggestions. To update, I have no idea why SimplifyPolygon kept running into the out of memory error (I also have 16 GB RAM), but I did manage to simplify the polygons in
Everything else worked perfectly, and I've been able to complete all the steps. Hooray! |
Thanks first of all for all these amazing tools to download and clean the WDPA.
To give the full background to my problem, I am trying to download and clean the global WDPA for some analyses in Google Earth Engine (the version available on GEE also seems to suffer from the various issues within WDPA). Mainly I need to calculate the proportion of species' ranges that are contained within PAs.
Initially I tried
wdpar
inR
, and ran into various problems similar to this issue: prioritizr/wdpar#16. Based on your recommendation there, I switched to trying https://github.com/jeffreyhanson/global-protected-areas.I followed your instructions in the README and in INSTALL.md, but then when I try
run.bat
I get the errorpip is not installed. Please see INSTALL.md
.I don't know what I've done wrong here, because I downloaded and ran https://bootstrap.pypa.io/get-pip.py and it seemed to install correctly:
RESTART: C:\Users\rsenior\Documents\global-protected-areas-master\get-pip.py �[33mDEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support�[0m Collecting pip Using cached https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 19.3.1 Uninstalling pip-19.3.1: Successfully uninstalled pip-19.3.1 Successfully installed pip-19.3.1
I have also added the
Scripts
folder to the PATH (C:\Python27\ArcGIS10.7\Scripts).I guess something is wrong with where pip is installed versus which Python version is being used? Or something like that? My setup is a bit complicated I think because the Python version in my PATH is the one installed with ArcGIS, for which I have also set up a conda environment. Then I have another conda environment for using with the GEE Python API. And both environments already have pip installed as well.
Do I need to maybe run the Python scripts within my conda environment? Sorry if this is unclear, I'm not sure what information would be most useful to you to help me figure out the problem. Thanks in advance!
The text was updated successfully, but these errors were encountered: