Select to view content in your preferred language

Can't install third party packages with conda.

529
2
06-02-2023 07:01 AM
ColeHowell
New Contributor III

I've been trying to use conda to install some third party python packages into a clone of the default python environment that comes with arcgis pro. When I do this though it says there there are inconsistencies in the following environments causing the installer fail. When it goes to a flexible solve it takes some time trying to solve and then inevitably fails. This cycle just keeps going on as it finds other repodata sources and it never installs the package. I'm guessing there's something wrong with my packages but I don't know what to do to fix it. 

 - esri/win-64::arcgis==2.0.1=py39_2826
  - esri/win-64::arcpy==3.0=py39_arcgispro_36045
  - conda-forge/noarch::flake8==6.0.0=pyhd8ed1ab_0
  - conda-forge/noarch::ipykernel==6.17.1=pyh025b116_0
  - conda-forge/noarch::ipywidgets==8.0.2=pyhd8ed1ab_1
  - conda-forge/noarch::jupyterlab==3.3.4=pyhd8ed1ab_0
  - conda-forge/noarch::jupyterlab_server==2.10.3=pyhd8ed1ab_0
  - conda-forge/noarch::jupyter_console==6.4.2=pyhd8ed1ab_0
  - conda-forge/noarch::jupyter_contrib_core==0.4.0=pyhd8ed1ab_0
  - esri/noarch::jupyter_contrib_nbextensions==0.5.1=py_24
  - esri/noarch::jupyter_highlight_selected_word==0.2.0=py_4
  - esri/noarch::jupyter_latex_envs==1.4.6=py_3
  - esri/noarch::jupyter_nbextensions_configurator==0.4.1=py_3
  - conda-forge/noarch::jupyter_server==1.13.5=pyhd8ed1ab_0
  - conda-forge/win-64::lcms2==2.14=h90d422f_0
  - conda-forge/win-64::libtiff==4.4.0=h8e97e67_4
  - conda-forge/win-64::libxslt==1.1.37=h0192164_0
  - conda-forge/win-64::lxml==4.9.1=py39h0942119_1
  - esri/win-64::matplotlib==3.4.3=py39_arcgispro_4
  - esri/win-64::matplotlib-base==3.4.3=py39_arcgispro_4
  - conda-forge/noarch::nbclassic==0.3.7=pyhd8ed1ab_0
  - conda-forge/noarch::nbconvert==5.6.1=pyhd8ed1ab_2
  - conda-forge/win-64::notebook==5.7.11=py39hcbf5309_0
  - conda-forge/noarch::notebook-shim==0.2.2=pyhd8ed1ab_0
  - conda-forge/win-64::openjpeg==2.5.0=hc9384bd_1
  - conda-forge/win-64::pillow==9.2.0=py39h595c93f_3
  - esri/noarch::prompt_toolkit==3.0.5=py_0
  - esri/win-64::pro_notebook_integration==3.0=py39_1

Any help would be appreciated.

Tags (3)
0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

What was your >>> conda install ?????

line?


... sort of retired...
0 Kudos
NicolasRojas
New Contributor III

Are you installing from Pro or a command line?

Most python packages can be installed in Pro in the python manager. Simply select your environment and download what you're looking for. This will do most of the heavy lifting for you.

If you're using a command line / terminal, are you using the proenv.bat command line? It can be found in C:\Program Files\ArcGIS\Pro\bin\Python\Scripts.

-N
0 Kudos