Python 的 BitStream 安装失败
BitStream for Python fails to install
我正在尝试通过 pip 在我的 windows7 机器上安装比特流 Python 包。但它失败了:
Q:\python>pip install bitstream
Collecting bitstream
Using cached bitstream-2.4.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\vm\AppData\Local\Temp\pip-build-jdkts06o\bitstream\setup.py", line 5, in <module>
import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\vm\AppData\Local\Temp\pip-build-jdkts06o\bitstream\
但是 ConfigParser 已经安装了!
Q:\python>pip install configparser
Requirement already satisfied: configparser in c:\users\vm\appdata\local\programs\python\python36-32\lib\site-packages
bitstream
只是 Python 2.7,不要用 Py 3.6 安装它。
我正在尝试通过 pip 在我的 windows7 机器上安装比特流 Python 包。但它失败了:
Q:\python>pip install bitstream
Collecting bitstream
Using cached bitstream-2.4.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\vm\AppData\Local\Temp\pip-build-jdkts06o\bitstream\setup.py", line 5, in <module>
import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\vm\AppData\Local\Temp\pip-build-jdkts06o\bitstream\
但是 ConfigParser 已经安装了!
Q:\python>pip install configparser
Requirement already satisfied: configparser in c:\users\vm\appdata\local\programs\python\python36-32\lib\site-packages
bitstream
只是 Python 2.7,不要用 Py 3.6 安装它。