最近在搞智能卡python测试平台环境,然后需要用到两个包(pyscard跟pycrypto),结果安装不了,试了好多方法,最后终于解决。
错误信息如下:
C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\Scripts>pip3 in
stall pyscard
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Ple
ase upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will dro
p support for Python 3.5 in January 2021. pip 21.0 will remove support for this
functionality.
Installing collected packages: pyscard
Running setup.py install for pyscard ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\administrator\appdata\local\programs\python\python35-32\
python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\User
s\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-han1gbo