今天安装pdfminer,使用
pip install pdfminer
报错,提示
Command "python setup.py egg_info" failed with error code 1 in C:\Users\w\AppData\Local\Temp\pip-build-1127yf7b\pdfminer\
随后查了一下,发现是安装错了版本
默认是支持python2的版本。应该安装
pip install pdfminer.six
新版本支持python3
https://stackoverflow.com/questions/41569245/python-setup-py-egg-info-failed-with-error-code-1#
网友评论