AnsweredAssumed Answered

Change Python environment back to default

Question asked by jweyl on May 19, 2020
Latest reply on May 20, 2020 by jborgion

I did some training for the Spatial Data Science MOOC and in it they had us do some work with the deep learning modules. Anyhow, now my default python environment for Python is set to this cloned environment and I don't understand how to set it back to the default? I need the default since I am using it with Visual Studio for another application and I need to update modules including the arcgis module. I am guessing that is the problem.


When I try to make the updates in VS I get the following errors:


----- Installing 'arcgis' -----
Traceback (most recent call last):
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\_internal\", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\_internal\cli\", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\_internal\cli\", line 11, in <module>
from pip._internal.commands import (
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\_internal\commands\", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\_internal\commands\", line 6, in <module>
from pip._internal.cli.base_command import Command
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pip\_internal\cli\", line 26, in <module>
from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder'
----- Failed to install 'arcgis' -----