-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Arcpy needs to run within active ArcGIS Conda Environment #72
Comments
It appears that you've installed arcgis package in arcgispro-py3 environment using proenv.bat/Python Command Prompt window within ArcGIS Pro, but the notebook server has been started in a different conda environment. Can you try restarting Jupyter notebook from within the proenv.bat/Python Command Prompt window in ArcGIS Pro? |
Hello @cyrusblankinship, Unfortunately the instructions in the other thread are out of date and using
and change line 31, which currently reads: if not "Continuum" in sys.version: to instead read: if not "Continuum" in sys.version and not "conda-forge" in sys.version: That will allow "conda-forge" to pass muster as a provider of a Python installation. (We added this check to prevent some complicated cases that will cause crashes with mixing Python installs).
From the prompt. |
@scw, I followed the second option and it worked. Thank you both for the detailed description. |
My issue started the same as #10, where it was saying
I uninstalled and reinstalled both packages
but that made everything worse. I am now getting an error saying
The text was updated successfully, but these errors were encountered: