@Web__Nikita03

Почему выдает ошибку при установки simple-crypt?

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc/ -Isrc/inc-msvc/ -Ic:\users\▒▒▒▒▒▒\appdata\local\programs\python\python37-32\include -Ic:\users\▒▒▒▒▒▒\appdata\local\programs\python\python37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tcsrc/winrand.c /Fobuild\temp.win32-3.7\Release\src/winrand.obj
winrand.c
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(27): error C2061: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒䨪▒▒▒ "intmax_t"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(28): error C2061: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒䨪▒▒▒ "rem"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(28): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(29): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: }
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(31): error C2061: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒䨪▒▒▒ "imaxdiv_t"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(31): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(41): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(42): error C2146: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ ")" ▒▒। ▒▒▒▒▒䨪▒▒஬ "_Number"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(42): error C2061: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒䨪▒▒▒ "_Number"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(42): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(43): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: )
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(46): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(47): error C2146: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ ")" ▒▒। ▒▒▒▒▒䨪▒▒஬ "_Numerator"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(47): error C2061: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒䨪▒▒▒ "_Numerator"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(47): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(47): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ,
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(49): error C2059: ᨭ⠪▒▒᪠▒ ▒訡▒▒: )
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(51): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(57): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(64): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(70): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(77): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(83): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(90): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\inttypes.h(96): error C2143: ᨭ⠪▒▒᪠▒ ▒訡▒▒: ▒▒▒▒▒▒⢨▒ "{" ▒▒। "__cdecl"
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

----------------------------------------
Command "c:\users\▒▒▒▒▒▒\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\843E~1\\AppData\\Local\\Temp\\pip-install-u10jlqht\\pycrypto\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\843E~1\AppData\Local\Temp\pip-record-qhprfwpf\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\843E~1\AppData\Local\Temp\pip-install-u10jlqht\pycrypto\

В чем проблема? numpy устанавливается отлично
  • Вопрос задан
  • 414 просмотров
Решения вопроса 1
@kdvoryashin
В pypi, где лежит библиотека есть ответ на ваш вопрос:
You must also install pycrypto. Note that pycrypto has parts written in C so requires a full python install. On some unix systems that may mean adding a package like python-dev from your package manager

Зависимость от pycrypto, который в свою очередь уже официально не поддерживается (https://github.com/dlitz/pycrypto/issues/173)
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы