1

I am using Notepad++ and I have set the "RUN" command to use the ArcGIS Pro Python executable located at "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe"

Once I hit Run, however, I get the following message:

Warning:
This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment see https://conda.io/activation

When I went to that website, it told me to run c:\Anaconda3\Scripts\activate base. I do not have that directory.

What should I do to get this working?

1 Answer 1

4

From the documentation:

C:\Program Files\ArcGIS\Pro\bin\Python\scripts\propy.bat my_script.py

But you could also switch to a code editor/IDE that understands conda environments like VS Code or PyCharm.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.