Python Command Prompt

420
5
11-04-2020 05:46 PM
Dr_NadaKadhim
New Contributor III

Hello everyone,

I opened the python command python and I've got this:

I believe it should display the following line only:

 (arcgispro-py3) C:\Program File\ArcGIS\Pro\bin\Python\envs\arcgispro-py3>

Please, I need some help.

0 Kudos
5 Replies
DavidPike
MVP Frequent Contributor

cd to the environment directory then use the activate command?

Dr_NadaKadhim
New Contributor III

Thank you very much David for your response. However, I am a beginner with this, could you please give me an example that I can follow/apply it.

0 Kudos
Dr_NadaKadhim
New Contributor III

These are my attempts but without any success!

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

It looks like you tried to create a new virtual environment and something didn't go right.  I would go back into Pro application, and set the default environment back to arcgispro-py3.  After that, you can open the Python Command prompt and try changing the active conda environment to the deeplearing environment and see if you get an error.  You just need to take some steps back to see when and what broke.

Dr_NadaKadhim
New Contributor III

Thank you very much Joshua for your reply.

I will try to do it.

0 Kudos