使用改方法仍然报错,对win10_SDK进行升级,升级后安装正常。pycrypto打包错误_Py-Jun的博客-CSDN博客
sdk安装包 winsdksetup
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>pip install pycrypto
WARNING: Ignoring invalid distribution -ip (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -anic (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -anic (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
Collecting pycrypto
Using cached pycrypto-2.6.1.tar.gz (446 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (setup.py) ... done
Created wheel for pycrypto: filename=pycrypto-2.6.1-cp37-cp37m-win_amd64.whl size=516360 sha256=a41e1db9fd932060d141aa931169d67d57f6e56bb2e23df5430c00964a796145
Stored in directory: c:\users\administrator\appdata\local\pip\cache\wheels\cf\85\ba\bbd7c96add459de7598fb424e5ff2309baf2095c844ac0f191
Successfully built pycrypto
WARNING: Ignoring invalid distribution -ip (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -anic (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
Installing collected packages: pycrypto
WARNING: Ignoring invalid distribution -ip (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -anic (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
Successfully installed pycrypto-2.6.1
WARNING: Ignoring invalid distribution -ip (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -anic (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
WARNING: Ignoring invalid distribution -anic (c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages)
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>