Select to view content in your preferred language

Cant install new package via CONDA?

2198
2
Jump to solution
09-06-2018 03:20 AM
SimonJackson
Frequent Contributor
  • Pro 2.2.1 (upgraded from prior versions).
  • Trying to install Selenium 
  • Pro interface, options, python, dont seem to be able to install new packages (greyed out)
  • Resorted to firing up proenv.bat as Administraor
  • Running conda install -c conda-forge selenium

Full output of console here.

  1. CondaError: Cannot link a source that does not exist. C:\Program Files\ArcGIS\Pro\bin\Python\pkgs\et_xmlfile-1.0.1-py36_0\Lib\site-packages\et_xmlfile\__pycache__\__init__.cpython-36.pyc
  2. Attempting to roll back.
  3.  
  4. DEBUG menuinst_win32:__init__(199): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3', env_name: 'arcgispro-py3', mode: 'None', used_mode: 'system'
  5. DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\Simon\AppData\Local\Temp\_MEI40322\python.exe, args are ['C:\\Users\\Simon\\AppData\\Local\\Temp\\_MEI40322\\cwp.py', '"C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3"','"C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\python.exe"', '"C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\Scripts\\jupyter-notebook-script.py"', '%USERPROFILE%']
  6.  
  7. CondaError: Cannot link a source that does not exist. C:\Program Files\ArcGIS\Pro\bin\Python\pkgs\et_xmlfile-1.0.1-py36_0\Lib\site-packages\et_xmlfile\__pycache__\__init__.cpython-36.pyc
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

The requested file doesn't exist in that path in my install either.

a missed dependency?  did you try --no pin

View solution in original post

2 Replies
DanPatterson_Retired
MVP Emeritus

The requested file doesn't exist in that path in my install either.

a missed dependency?  did you try --no pin

SimonJackson
Frequent Contributor

Just tried from proenv.bat (run as administrator)

conda install -c conda-forge selenium --no-pin

Worked perfect.

Thanks Mr.P