问题:执行pip install barcode,报错ERROR: Command errored out with exit status 1:
解决:看了网上一些替换安装文件的解决方法,都不成功。
然后定位到的问题是,pip install barcode是支持python2的,在python3上执行会报错。
在python3的话,要执行pip install python-barcode
引用:import barcode
Python3安装barcode库的解决方法
在尝试使用pip install barcode命令安装barcode库时遇到错误,提示不支持Python3。解决方案是使用pip install python-barcode命令来安装,适用于Python3环境。此问题涉及到Python版本兼容性和库安装。
问题:执行pip install barcode,报错ERROR: Command errored out with exit status 1:
解决:看了网上一些替换安装文件的解决方法,都不成功。
然后定位到的问题是,pip install barcode是支持python2的,在python3上执行会报错。
在python3的话,要执行pip install python-barcode
引用:import barcode
2829
2801
7324
5688
1627

被折叠的 条评论
为什么被折叠?