我将使用pip包安装程序在我的电脑中安装ZeroMQ库.我使用https://learning-0mq-with-pyzmq.readthedocs.org/en/latest/pyzmq/basics.html#installation作为我的参考.执行follwing命令后:
pip install pyzmq-static
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
C:\Users\MyName>pip install pyzmq-static
You are using pip version 7.0.1, however version 7.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting pyzmq-static
Using cached pyzmq-static-2.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\MyName\AppData\Local\Temp\pip-build-m8zyvx48\pyzmq-static\
setup.py", line 6, in <module>
long_description = open(os.path.join(os.path.dirname(__file__), 'README.
rst')
AttributeError: 'str' object has no attribute 'decode'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\MyName\
AppData\Local\Temp\pip-build-m8zyvx48\pyzmq-static
Run Code Online (Sandbox Code Playgroud)
我的python版本是3.5,我使用的是Windows 8.0操作系统.
更新
我发现我的引用文章使用了python 2.X,我使用的是python 3.5.
| 归档时间: |
|
| 查看次数: |
2698 次 |
| 最近记录: |