ARCGIS Pro踩坑及解决方案

  1. openssl as rust_openssl RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration.
    · 参考: https://stackoverflow.com/questions/76949979/conda-when-running-give-runtimeerror-openssl-3-0s-legacy-provider-failed-to-lo
    · 很多博客说更openssl的版本有关, 还有一些说不用遗传算法就把报错的标识为改为1, ARCGIS没办法改源码, 并且我在ARCGIS Pro界面的python环境没办法设置该标志位, 而且因为使用的是windows环境,没办法直接在命令行export, 解决方案如下:
bash 复制代码
# 找到cmd激活当前arcgispro-py3(就是你软件中的活动环境), 在cmd激活
# 在安装路径下查找activate.bat路径, 我的是:
D:\ArcGISPro\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\venv\scripts\nt

# 在路径栏cmd进入
activate

# windows
set CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 
# 不想每次运行之前都要设置的话就写成
setx CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1

#Linux
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1
  1. 错误 032659 updateParameters Error: Traceback (most recent call last):
    File "d:\arcgispro\arcgis\pro\Resources\ArcToolbox\toolboxes\3D Analyst Tools.tbx\TrainPointCloudClassificationModel.tool\tool.script.validate.py", line 334, in <module># Validate block size in training data matches block size in pretrained model
    File "d:\arcgispro\arcgis\pro\Resources\ArcToolbox\toolboxes\3D Analyst Tools.tbx\TrainPointCloudClassificationModel.tool\tool.script.validate.py", line 130, in updateParameters
    self.architecture.value = "RANDLANET"
    File "D:\ArcGISPro\ArcGIS\Pro\Resources\ArcToolbox\Scripts\ThreeD_Utilities.py", line 164, in init
    setattr(self, objectCodes, {objectClassID['classCode'] for objectClassID in getattr(self, info)['tileStatistics']['classification']['table']})
    KeyError: 'classification'

我的安装版本是3.2, 无法运行. 于是我安装了3.0, 这一步可以,但是评估的时候还是会报错. 并且没办法用RANDLANET, 这个真的要快很多, 用Point CNN训练20分钟, 这个不到3分钟甚至. 所以我装回了3.2, 解决办法是:

· 更新软件, 在 关于中找到软件更新的可用版本, 然后更新就行了, 别的官网上的办法一试一个报错.

  1. 安装deep- learning-essentials失败:

GIthub下包安装明明成功了, 但是在已安装的包里找不到, 很奇怪, 对应路径下pkgs又有这个包.

不用犹豫,直接复制环境,并且在 包管理器 -> 添加包 里面找到这个深度学习的包, 按照版本直接装.

相关推荐
iQM753 天前
X-Spreadsheet使用教程:打造你的Web端电子表格应用
前端·javascript·arcgis
码力巨能编4 天前
Electron应用创建和打包
javascript·arcgis·electron
Bigemap6 天前
Bigemap Pro首发(一款真正全面替代Arcgis的国产基础软件)
arcgis·数据要素·bigemap pro·国产gis软件
GIS思维6 天前
ArcGIS共享数据的最佳方法(不丢可视化、标注等各类显示信息一样带)
arcgis·arcgis图层lyr·arcgis图层包lpk·arcgis打包地图mpk
杨超越luckly6 天前
共享单车轨迹数据分析:以厦门市共享单车数据为例(八)
大数据·服务器·arcgis·数据挖掘·数据分析
雪芽蓝域zzs7 天前
uniapp EChars图表
arcgis·uni-app
HM-hhxx!7 天前
遥感图像语义分割数据集制作(使用ArcGIS Pro)
深度学习·arcgis·语义分割·遥感图像
科研online7 天前
ArcGIS Pro高级地图可视化—双变量符号地图
开发语言·javascript·arcgis
GIS思维8 天前
ArcGIS与ArcGIS Pro去除在线地图服务名单
arcgis·arcgis pro·在线地图集