[Python] Windows 下安裝 pycrypto 時出現錯誤

這幾天在摸 python 開發的時候遇到環境安裝失敗的問題,明明在 Ubuntu 底下跑都安然無恙 Windows 錯惹嗎 ?

錯誤訊息如下:

最速解如下:

  1. 複製


  2. 開啟
  3. #include <stdint.h> 修改為 #include "stdint.h"
  4. 重新安裝 pycrypto

 

參考:pycrypto安裝出錯的問題 intmax_t C:Program Files (x86)Windows Kits10include10.0.10240.0ucrtinttypes.



這裡的資訊對您有用嗎?歡迎斗內給我