Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArcPro 3.2.2 Install Error #271

Closed
code-goat opened this issue Apr 21, 2024 · 1 comment
Closed

ArcPro 3.2.2 Install Error #271

code-goat opened this issue Apr 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@code-goat
Copy link

Environment Information

  • samgeo version: v0.3.0

  • Python version:
    - Latest Version: 3.12.3
    - Installed: 3.9.18

  • Operating System: Windows

Description

Following the directions in this resource: https://samgeo.gishub.org/examples/arcgis/
-Installation fails, creating broken conda env.

What I Did

(arcgispro-py3) C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3>conda create conda-forge::mamba esri::python --name geo
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\Users\cfmc-admin\AppData\Local\ESRI\conda\envs\geo

  added / updated specs:
    - conda-forge::mamba
    - esri::python


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    archspec-0.2.3             |     pyhd3eb1b0_0          47 KB
 ...
    pysocks-1.7.1              |  py311haa95532_0          36 KB
    python-3.11.8              |                5        19.1 MB  esri
    python_abi-3.11            |          2_cp311           5 KB  esri
    reproc-14.2.4              |       hd77b12b_1          33 KB
    reproc-cpp-14.2.4          |       hd77b12b_1          27 KB
    requests-2.31.0            |  py311haa95532_1         125 KB
    ruamel.yaml-0.17.21        |  py311h2bbff1b_0         244 KB
    setuptools-68.2.2          |          py311_0         1.5 MB  esri
    sqlite-3.45.1              |                0         819 KB  esri
    tqdm-4.65.0                |  py311h746a85d_0         178 KB
    truststore-0.8.0           |  py311haa95532_0          47 KB
    ucrt-10.0.20348.0          |       haa95532_0         531 KB
    urllib3-2.1.0              |  py311haa95532_1         195 KB
    vc-14.2                    |       h21ff451_1           8 KB
    vc14_runtime-14.38.33130   |      h82b7239_18         732 KB  conda-forge
    vs2015_runtime-14.38.33130 |      hcb4865c_18          17 KB  conda-forge
    wheel-0.41.2               |  py311haa95532_0         163 KB
    win_inet_pton-1.1.0        |          py311_1          10 KB  esri
    xz-5.4.6                   |       h8cc25b3_0         587 KB
    yaml-cpp-0.8.0             |       hd77b12b_0         2.0 MB
    zlib-1.2.13                |       hcfcfb64_5         105 KB  conda-forge
    zlib-ng-2.1.6              |                0         366 KB  esri
    zstandard-0.19.0           |  py311h2bbff1b_0         322 KB
    zstd-1.5.5                 |                0         355 KB  esri
    ------------------------------------------------------------
                                           Total:        51.7 MB

The following NEW packages will be INSTALLED:

  archspec           pkgs/main/noarch::archspec-0.2.3-pyhd3eb1b0_0
  boltons            pkgs/main/win-64::boltons-23.0.0-py311haa95532_0
  brotli-python      pkgs/main/win-64::brotli-python-1.0.9-py311hd77b12b_7
  bzip2              pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_5
  ca-certificates    pkgs/main/win-64::ca-certificates-2024.3.11-haa95532_0
  certifi            pkgs/main/win-64::certifi-2024.2.2-py311haa95532_0
  cffi               pkgs/main/win-64::cffi-1.16.0-py311h2bbff1b_0
  charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0
  colorama           pkgs/main/win-64::colorama-0.4.6-py311haa95532_0
  conda              pkgs/main/win-64::conda-24.3.0-py311haa95532_0
  conda-libmamba-so~ pkgs/main/noarch::conda-libmamba-solver-24.1.0-pyhd3eb1b0_0
  conda-package-han~ pkgs/main/win-64::conda-package-handling-2.2.0-py311haa95532_0
  conda-package-str~ pkgs/main/win-64::conda-package-streaming-0.9.0-py311haa95532_0
  distro             pkgs/main/win-64::distro-1.8.0-py311haa95532_0
  fmt                conda-forge/win-64::fmt-10.2.1-h181d51b_0
  idna               pkgs/main/win-64::idna-3.4-py311haa95532_0
  jsonpatch          pkgs/main/win-64::jsonpatch-1.33-py311haa95532_0
  jsonpointer        pkgs/main/noarch::jsonpointer-2.1-pyhd3eb1b0_0
  libarchive         conda-forge/win-64::libarchive-3.7.2-h313118b_1
  libcurl            esri/win-64::libcurl-8.6.0-0
  libiconv           conda-forge/win-64::libiconv-1.17-hcfcfb64_2
  libmamba           conda-forge/win-64::libmamba-1.5.8-h3f09ed1_0
  libmambapy         conda-forge/win-64::libmambapy-1.5.8-py311h0317a69_0
  libnghttp2         esri/win-64::libnghttp2-1.59.0-0
  libsolv            pkgs/main/win-64::libsolv-0.7.24-h23ce68f_0
  libxml2            conda-forge/win-64::libxml2-2.12.6-hc3477c8_2
  libzlib            esri/win-64::libzlib-1.2.13-hcfcfb64_5
  lz4-c              esri/win-64::lz4-c-1.9.4-0
  lzo                pkgs/main/win-64::lzo-2.10-he774522_2
  mamba              conda-forge/win-64::mamba-1.5.8-py311h8cb466b_0
  menuinst           pkgs/main/win-64::menuinst-2.0.2-py311hd77b12b_0
  openssl            conda-forge/win-64::openssl-3.2.1-hcfcfb64_1
  packaging          pkgs/main/win-64::packaging-23.2-py311haa95532_0
  pcre2              esri/win-64::pcre2-10.42-h0ff8eda_1
  pip                esri/win-64::pip-23.3.2-py311_0
  platformdirs       pkgs/main/win-64::platformdirs-3.10.0-py311haa95532_0
  pluggy             pkgs/main/win-64::pluggy-1.0.0-py311haa95532_1
  pybind11-abi       conda-forge/noarch::pybind11-abi-4-hd8ed1ab_3
  pycosat            pkgs/main/win-64::pycosat-0.6.6-py311h2bbff1b_0
  pycparser          pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
  pysocks            pkgs/main/win-64::pysocks-1.7.1-py311haa95532_0
  python             esri/win-64::python-3.11.8-5
  python_abi         esri/win-64::python_abi-3.11-2_cp311
  reproc             pkgs/main/win-64::reproc-14.2.4-hd77b12b_1
  reproc-cpp         pkgs/main/win-64::reproc-cpp-14.2.4-hd77b12b_1
  requests           pkgs/main/win-64::requests-2.31.0-py311haa95532_1
  ruamel.yaml        pkgs/main/win-64::ruamel.yaml-0.17.21-py311h2bbff1b_0
  setuptools         esri/win-64::setuptools-68.2.2-py311_0
  sqlite             esri/win-64::sqlite-3.45.1-0
  tqdm               pkgs/main/win-64::tqdm-4.65.0-py311h746a85d_0
  truststore         pkgs/main/win-64::truststore-0.8.0-py311haa95532_0
  ucrt               pkgs/main/win-64::ucrt-10.0.20348.0-haa95532_0
  urllib3            pkgs/main/win-64::urllib3-2.1.0-py311haa95532_1
  vc                 pkgs/main/win-64::vc-14.2-h21ff451_1
  vc14_runtime       conda-forge/win-64::vc14_runtime-14.38.33130-h82b7239_18
  vs2015_runtime     conda-forge/win-64::vs2015_runtime-14.38.33130-hcb4865c_18
  wheel              pkgs/main/win-64::wheel-0.41.2-py311haa95532_0
  win_inet_pton      esri/win-64::win_inet_pton-1.1.0-py311_1
  xz                 pkgs/main/win-64::xz-5.4.6-h8cc25b3_0
  yaml-cpp           pkgs/main/win-64::yaml-cpp-0.8.0-hd77b12b_0
  zlib               conda-forge/win-64::zlib-1.2.13-hcfcfb64_5
  zlib-ng            esri/win-64::zlib-ng-2.1.6-0
  zstandard          pkgs/main/win-64::zstandard-0.19.0-py311h2bbff1b_0
  zstd               esri/win-64::zstd-1.5.5-0


Proceed ([y]/n)?

*Notice the pinned version of python. Is this creating the failed install? And if so, how does one change the pinned version to 3.9?

(geo)  C:\Users\cfmc-admin\AppData\Local\ESRI\conda\envs\geo>mamba install arcpy deep-learning-essentials segment-geospatial pygis -c esri -c conda-forge

Looking for: ['arcpy', 'deep-learning-essentials', 'segment-geospatial', 'pygis']

esri/win-64 (check zst)                             Checked  0.5s
esri/noarch (check zst)                             Checked  0.3s
pkgs/main/win-64 (check zst)                        Checked  0.2s
pkgs/main/noarch (check zst)                        Checked  0.1s
pkgs/r/win-64 (check zst)                           Checked  0.1s
pkgs/r/noarch (check zst)                           Checked  0.1s
pkgs/msys2/win-64 (check zst)                       Checked  0.1s
pkgs/msys2/noarch (check zst)                       Checked  0.1s
esri/win-64                                        178.5kB @ 325.7kB/s  0.6s
esri/noarch                                         40.1kB @  63.3kB/s  0.6s
pkgs/main/win-64                                     5.4MB @   7.6MB/s  0.7s
pkgs/msys2/win-64                                   35.1kB @  40.8kB/s  0.3s
pkgs/main/noarch                                   705.1kB @ 775.2kB/s  0.2s
pkgs/msys2/noarch                                  103.0 B @ 101.0 B/s  0.1s
pkgs/r/win-64                                      633.1kB @ 548.8kB/s  0.5s
pkgs/r/noarch                                        2.1MB @   1.3MB/s  0.7s
conda-forge/noarch                                  14.4MB @   6.6MB/s  2.2s
conda-forge/win-64                                  21.8MB @   7.2MB/s  3.0s

Pinned packages:
  - python 3.11.*


Transaction

  Prefix: C:\Users\cfmc-admin\AppData\Local\ESRI\conda\envs\geo

  Updating specs:

   - arcpy
   - deep-learning-essentials
   - segment-geospatial
   - pygis
   - ca-certificates
   - certifi
   - openssl


  Package                                         Version  Build                       Channel       e
------------------------------------------------------------------------------------------------------
  Install:
------------------------------------------------------------------------------------------------------

  + arcgispro                                         3.3  0                           esri          B
  + pywin32-security                                  306  py311_2                     esri          B
  + dpcpp-cpp-rt                                 2022.2.1  arcgispro_19741             esri          B
  + intel-cmplr-lib-rt                           2022.2.1  arcgispro_19741             esri          B
  + future                                         0.18.3  py311_0                     esri          B

...

  + nb_conda_kernels                                2.5.0  pyh7428d3b_0                conda-forge   B
  + deep-learning-essentials                          3.3  arcgispro_106               esri          B

  Summary:

  Install: 601 packages

  Total download: 4GB

------------------------------------------------------------------------------------------------------


Confirm changes: [Y/n] y
arcgispro                                            3.5kB @   5.5kB/s  0.6s
pywin32-security                                   370.3kB @ 326.5kB/s  1.1s
pybind11                                           160.1kB @ 118.7kB/s  0.7s
dpcpp-cpp-rt                                         5.4MB @   3.9MB/s  1.4s
intel-cmplr-lib-rt                                   5.5MB @   3.8MB/s  1.5s
future                                             483.1kB @ 312.1kB/s  1.5s
xeus                                               172.5kB @  88.1kB/s  0.8s
libprotobuf                                          1.9MB @ 800.6kB/s  1.0s
libthrift                                            1.6MB @ 680.6kB/s  1.0s

...

mljar-supervised                                   113.8kB @ 770.0 B/s  0.7s
proj4                                              730.7MB @   4.5MB/s 1m:25.7s
cudnn                                              455.9MB @ 801.0kB/s 8m:2.8s

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: failed
The package for mmdet3d located at C:\Users\cfmc-admin\AppData\Local\ESRI\conda\envs\geo\pkgs\mmdet3d1
appears to be corrupted. The path 'Lib/site-packages/mmdet3d/.mim/configs/centerpoint/__pycache__/cen'
specified in the package manifest cannot be found.

The package 'esri/win-64::openjpeg-2.5.0-1' cannot be installed due to a
path collision for 'library/bin/msvcp140_atomic_wait.dll'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.

This transaction has incompatible packages due to a shared path.
  packages: esri/win-64::libbrotlicommon-1.0.9-0, esri/win-64::libbrotlidec-1.0.9-0, esri/win-64::lib0
  path: 'library/lib/pkgconfig/libbrotlicommon.pc'

...more of errors like this...


CondaVerificationError: The package for mmdet3d located at C:\Users\cfmc-admin\AppData\Local\ESRI\con1
appears to be corrupted. The path 'Lib/site-packages/mmdet3d/.mim/configs/centerpoint/__pycache__/cen'
specified in the package manifest cannot be found.

ClobberError: The package 'esri/win-64::openjpeg-2.5.0-1' cannot be installed due to a
path collision for 'library/bin/msvcp140_atomic_wait.dll'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: esri/win-64::libbrotlicommon-1.0.9-0, esri/win-64::libbrotlidec-1.0.9-0, esri/win-64::lib0
  path: 'library/lib/pkgconfig/libbrotlicommon.pc'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: esri/win-64::libbrotlicommon-1.0.9-0, esri/win-64::libbrotlidec-1.0.9-0, esri/win-64::lib0
  path: 'library/lib/pkgconfig/libbrotlidec.pc'


ClobberError: This transaction has incompatible packages due to a shared path.
  packages: esri/win-64::libbrotlicommon-1.0.9-0, esri/win-64::libbrotlidec-1.0.9-0, esri/win-64::lib0
  path: 'library/lib/pkgconfig/libbrotlienc.pc'

...more versions of this sort of error...


And then there is this as well...

(geo)  C:\Users\cfmc-admin\AppData\Local\ESRI\conda\envs\geo>proswap geo
proswap: The environment C:\Users\cfmc-admin\AppData\Local\ESRI\conda\envs\geo doesn't contain NumPy, which is required for ArcGIS Pro.

@code-goat code-goat added the bug Something isn't working label Apr 21, 2024
@giswqs
Copy link
Member

giswqs commented May 18, 2024

I just tested it with ArcGIS Pro 3.3, and everything works fine. Please upldate to ArcGIS 3.3 and try again.

Screenshot_20240517_220453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants