Closed mhw-at-yg closed 3 months ago
This still occurs with Pro v3.1.2 and py 3.9.
So, we can't blindly assume conda install numpy
will fetch a numpy compiled in the same manner that Pro's numpy is. I tried the naive approuch of conda installing using Pro's numpy version number but that doesn't fix it.
conda install numpy==1.20.1
Perhaps we need to add Esri's conda channel?
Your logs show you have a 64bit version of Anaconda, but a quick google search seems to indicate that ArcGIS is still 32bit: (Image from here)
ArcGIS Desktop is ArcMap, and that remains 32bit, while ArcGIS Pro is 64bit. Esri and their infinite changing names!
data point:
- The Python version is: Python3.9 from "c:\apps\miniconda3\python.exe"
- The NumPy version is: "1.20.1"
while conda list numpy
reports 1.20.3. So the Numpy that's being imported is from Pro environment not the active shell's python. If I remove numpy from the conda env, the same error occurs. So it's not numpy alone.
However @cooperjaXC in #18 reports no issue with their conda envs and the current master repo so for the moment I'm concluding this is might be a local-only issue.
with Pro v3.3 and python 3.11, conda install numpy
works, so closing this issue.
conda create -y --name archook-py311 python=3.11 -y
conda activate archook-py311
conda install -y numpy
I haven't tried to use archook for a few months. This error is from an existing archook conda environment that worked fine the last time I touched it. Pro was recently upgraded to v2.8.0.