cuốn sách gpt4 ai đã làm

android — Bánh xe xây dựng Pycrypto cho pycrypto trên Windows không thành công

In lại Tác giả: Hồ Xil Thời gian cập nhật: 2023-11-01 11:24:26 26 4
mua khóa gpt4 Nike

Có ai có thể giúp tôi được không? Liều lượng làm việc trong hướng dẫn này: PyCrypto trên python 3.5

Dòng lệnh:

đang tạo build\temp.win32-3.6\Release\src
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc/ -Isrc/inc-msvc/ -IC:\Python36 -32\include -IC:\Python36-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\ include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\um" "-IC:\Program Files (x86)\Windows Kits\ 10\include\10.0.15063.0\winrt" /Tcsrc/winrand.c /Fobuild\temp.win32-3.6\Release\src/winrand.obj
winrand.c
C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt\inttypes.h(26): lỗi C2061: lỗi cú pháp: mã định danh 'intmax_t'

C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt\inttypes.h(27): lỗi C2061: lỗi cú pháp: mã định danh 'rem'
C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt\inttypes.h(27): lỗi C2059: lỗi cú pháp: ';'

C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt\inttypes.h(28): lỗi C2059: lỗi cú pháp: '}'

C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt\inttypes.h(30): lỗi C2061: lỗi cú pháp: mã định danh 'imaxdiv_t'


lỗi: lệnh 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' không thành công với trạng thái thoát 2

----------------------------------------
Bánh xe xây dựng không thành công cho pycrypto

Chạy setup.py clean cho pycrypto
Không thể xây dựng pycrypto

Cài đặt các gói đã thu thập: pycrypto
Chạy setup.py cài đặt cho pycrypto... lỗi

cảnh báo: Không tìm thấy thư viện GMP hoặc MPIR; Không xây dựng Crypto.PublicKey._fastmath.

----------------------------------------
Lệnh "C:\Python36-32\python.exe -u -c "nhập setuptools, tokenize;__file__='C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\pip-build- 1hsm_c69\\pycrypto\\setup.py';f=getattr(mã thông báo, 'mở', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" cài đặt --record C:\Users\CHRIST~1\AppData\Local\Temp\pip-wl7h4k32-record\install-record.txt --single-version-externally-managed --compile" không thành công với mã lỗi 1 trong C:\Users\CHRIST~1\AppData\Local\Temp\pip-build-1hsm_c69\pycrypto\

Có cách nào để cài đặt PyCrypto không? Visual Studio 2015 đã được cài đặt; tôi có nên đặt biến môi trường cho studio trực quan không?

câu trả lời hay nhất

Phiên bản python của bạn là 3.6 nên sẽ xảy ra lỗi này. Bạn cần đổi sang python3.5, đúng là 3.5.2. Tôi nghĩ bạn có thể nhập thành công.

Về python - Bánh xe xây dựng Pycrypto cho pycrypto trên Windows không thành công, chúng tôi đã tìm thấy một câu hỏi tương tự trên Stack Overflow: https://stackoverflow.com/questions/44574953/

26 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress