Pycrypto 安裝問題

安裝 Pycrypto 時,假使沒有安裝 Compiler,就會無法編譯程式終止,

此時安裝 Visual C++ 2015 Build Tools 就可以解決,

然而,會出現另外一個問題,cannot run 'rc.exe'

這是源自於 Visual Studio 的問題,

只要把 C:\Program Files (x86)\Windows Kits\8.0\bin\x86

裡的 rc.exercdll.dll

複製到 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin

就可以解決,詳情可以參考 stack-overflow 上面的回答:

https://stackoverflow.com/questions/14372706/visual-studio-cant-build-due-to-rc-exe

Was this article helpful? Votes: 0
Article details:
Published date: 21/08/2017 12:27PM
Last updated: 21/08/2017 12:27PM (Kevin - kevin.huang@nuwainfo.com)
Share article: 
Author: Kevin (kevin.huang@nuwainfo.com)