pip安装enum时出现错误RROR: Command errored out with exit status 1:command: /Users/duankeke/env/python3.8/bin/python -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0]

pip install enum34

安装pip的时候出现:This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.

yum install -y epel-release
yum install -y python-pip

cffi >= 1.12.2 ; platform_python_implementation == ‘CPython’ and sys_platform == ‘win32’”, ‘at’, “ ; platform_python_implementation == ‘CPython’ and sys_platform == ‘win32’

pip install –upgrade setuptools

IceSSL: certificate verification failed错误

请加入IOTOS开发者技术交流群 QQ:164508667,问管理员需要最新的证书。放到sdk\_examples目录下。

TypeError: function takes exactly 5 arguments (9 given)

请确认python环境中的zeroc-ice的版本号是否为3.6.3。
pip install zeroc-ice==3.6.3

ImportError: No module named Glacier2_Session_ice

请确认python环境中的zeroc-ice的版本号是否为3.6.3。
pip install zeroc-ice==3.6.3

ImportError: No module named Ice_BuiltinSequences_ice

windows环境下,请下载安装:Ice-3.6.5.msi
windows msi包与py包需要保持一致,
请确认python环境中的zeroc-ice的版本号是否为3.6.5。
pip install zeroc-ice==3.6.5

error: command ‘gcc’ failed with exit status 1

yum install python-devel

src/ice/cpp/src/Ice/ConnectionI.cpp:33:21: 致命错误:bzlib.h:没有那个文件或目录

yum install bzip2-devel.x86_64

src/ice/cpp/src/IceSSL/Util.h:20:27: 致命错误:openssl/ssl.h:没有那个文件或目录

yum install openssl
yum install openssl-devel

WINDOWS python 安装zeroc-ice出现Microsoft Visual C++ 报错

工具(需要下载运行)
1.visualcppbuildtools full.exe
链接:https://pan.baidu.com/s/1O5DB8pHWQsMWkeTl_xjvbQ
提取码:ctui

离线包(需要下载解压)
链接:https://pan.baidu.com/s/164vxeswwOzjlK24qRbhABQ
提取码:fpsq

注意:离线包下载下来是个iso文件,将其解压,然后根据build tool找到对应的msi文件即可,比如要找BuildTools_MSBuild.msi

作者:admin  创建时间:2021-10-18 10:53
最后编辑:IOTOS  更新时间:2023-11-29 09:38