我们使用VisualStudio2019创建了样例物联网边缘应用程序。当我们试图在安装中设置物联网边缘设备连接字符串时,物联网边缘模拟器会出现以下错误。
C:\Users\10070047\Documents\Visual 2019\iotedgehubdev\v0.14.2\iotedgehubdev安装程序"lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py",HostName={connection } 16472未能执行脚本pyi_rth_pkgres跟踪(最近一次调用):文件pyi_rth_pkgres第11行,文件"d:\a\1\s\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",第627行,exec_module文件“lib\site-packages\pkg_pyi_rth_pkgres_init_..py”,第86行,在"lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py",中,没有一个模块名为“pkg_resources.py2_warn”错误:未能运行“iotedgehubdev安装程序-c {connectionstring}”,其中有错误: 16472无法执行脚本pyi_rth_pkgres跟踪(最近一次调用):文件"d:\a\1\s\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py",第627行中的文件pkg_resources.py2_warn第11行,在exec_module文件"lib\site-packages\pkg_resources_init_.py“中,第86行,在ModuleNotFoundError:没有名为'pkg_resources.py2_warn‘的模块中
仅供参考。尝试安装连接字符串

有人能帮我一下吗。谢谢
发布于 2020-10-20 10:05:45
发布于 2020-10-20 14:15:24
问题是关于iotedgehubdev的0.14.2版本,我试图用0.14.1降低它的评级,但无法降低它的评级。但是我们所做的,将“C:\User*\Documents\Visual 2019\iotedgehubdev\v0.14.2”的内容替换为"iotedgehubdev\v0.14.1“。然后起作用了。
https://stackoverflow.com/questions/64441859
复制相似问题