0
0 комментариев

версия питон 3.7.4

ос windows 10

консоль:

(venv) C:\Users\porta\PycharmProjects\MineBot>pip3 install chirpsdk
Collecting chirpsdk
Using cached https://files.pythonhosted.org/packages/e9/dc/1c98fd40f1857fe079629e55828fc747bb0a4191145528e0f480586b5166/chirpsdk-3.5.0.tar.gz
Requirement already satisfied: sounddevice>=0.3.12 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from chirpsdk) (0.3.14)
Requirement already satisfied: pysoundfile>=0.9.0 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from chirpsdk) (0.9.0.post1)
Requirement already satisfied: configparser>=3.5.0 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from chirpsdk) (4.0.2)
Requirement already satisfied: requests>=2.18.1 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from chirpsdk) (2.22.0)
Requirement already satisfied: requests-futures>=0.9.7 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from chirpsdk) (1.0.0)
Requirement already satisfied: CFFI>=1.0 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from sounddevice>=0.3.12->chirpsdk) (1.13.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from requests>=2.18.1->chirpsdk) (2019.11.28)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from requests>=2.18.1->chirpsdk) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from requests>=2.18.1->chirpsdk) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from requests>=2.18.1->chirpsdk) (1.25.7)
Requirement already satisfied: pycparser in c:\users\porta\pycharmprojects\minebot\venv\lib\site-packages (from CFFI>=1.0->sounddevice>=0.3.12->chirpsdk) (2.19)
Installing collected packages: chirpsdk
Running setup.py install for chirpsdk … error
Complete output from command C:\Users\porta\PycharmProjects\MineBot\venv\Scripts\python.exe -u -c «import setuptools, tokenize;__file__=’C:\\Users\\porta\\AppData\\Local\\Temp
\\pip-install-e2_rxj4w\\chirpsdk\\setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, __file__, ‘exec’))» instal
l —record C:\Users\porta\AppData\Local\Temp\pip-record-8zgnf6s9\install-record.txt —single-version-externally-managed —compile —install-headers C:\Users\porta\PycharmProjects\
MineBot\venv\include\site\python3.7\chirpsdk:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\chirpsdk
copying chirpsdk\audio.py -> build\lib.win-amd64-3.7\chirpsdk
copying chirpsdk\chirpsdk.py -> build\lib.win-amd64-3.7\chirpsdk
copying chirpsdk\exceptions.py -> build\lib.win-amd64-3.7\chirpsdk
copying chirpsdk\network.py -> build\lib.win-amd64-3.7\chirpsdk
copying chirpsdk\__init__.py -> build\lib.win-amd64-3.7\chirpsdk
creating build\lib.win-amd64-3.7\tests
copying tests\test_chirpsdk.py -> build\lib.win-amd64-3.7\tests
copying tests\__init__.py -> build\lib.win-amd64-3.7\tests
creating build\lib.win-amd64-3.7\bin
copying bin\__init__.py -> build\lib.win-amd64-3.7\bin
running egg_info
writing chirpsdk.egg-info\PKG-INFO
writing dependency_links to chirpsdk.egg-info\dependency_links.txt
writing requirements to chirpsdk.egg-info\requires.txt
writing top-level names to chirpsdk.egg-info\top_level.txt
reading manifest file ‘chirpsdk.egg-info\SOURCES.txt’
reading manifest template ‘MANIFEST.in’
writing manifest file ‘chirpsdk.egg-info\SOURCES.txt’
copying chirpsdk\_chirpsdk.c -> build\lib.win-amd64-3.7\chirpsdk
creating build\lib.win-amd64-3.7\chirpsdk\include
copying chirpsdk\include\chirp_sdk_events.h -> build\lib.win-amd64-3.7\chirpsdk\include
creating build\lib.win-amd64-3.7\chirpsdk\libraries
creating build\lib.win-amd64-3.7\chirpsdk\libraries\darwin
copying chirpsdk\libraries\darwin\libchirp-sdk-shared.dylib -> build\lib.win-amd64-3.7\chirpsdk\libraries\darwin
creating build\lib.win-amd64-3.7\chirpsdk\libraries\linux
copying chirpsdk\libraries\linux\libchirp-sdk-shared.so -> build\lib.win-amd64-3.7\chirpsdk\libraries\linux
creating build\lib.win-amd64-3.7\chirpsdk\libraries\rpi6
copying chirpsdk\libraries\rpi6\libchirp-sdk-shared.so -> build\lib.win-amd64-3.7\chirpsdk\libraries\rpi6
creating build\lib.win-amd64-3.7\chirpsdk\libraries\rpi7
copying chirpsdk\libraries\rpi7\libchirp-sdk-shared.so -> build\lib.win-amd64-3.7\chirpsdk\libraries\rpi7
creating build\lib.win-amd64-3.7\chirpsdk\libraries\win32
copying chirpsdk\libraries\win32\libchirp-sdk-shared.dll -> build\lib.win-amd64-3.7\chirpsdk\libraries\win32
creating build\lib.win-amd64-3.7\chirpsdk\libraries\win64
copying chirpsdk\libraries\win64\libchirp-sdk-shared.dll -> build\lib.win-amd64-3.7\chirpsdk\libraries\win64
copying bin\chirp-audio-read -> build\lib.win-amd64-3.7\bin
copying bin\chirp-audio-write -> build\lib.win-amd64-3.7\bin
copying bin\chirp-receive -> build\lib.win-amd64-3.7\bin
copying bin\chirp-send -> build\lib.win-amd64-3.7\bin
running build_ext
building ‘_chirpsdk’ extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\chirpsdk
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\porta\PycharmProjects\MineBot\venv\include «-IC:\Pro
gram Files\Python37\include» «-IC:\Program Files\Python37\include» «-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE» «-IC:\Program Files (x86)\Microsoft Visual St
udio 14.0\VC\ATLMFC\INCLUDE» «-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt» /Tcchirpsdk/_chirpsdk.c /Fobuild\temp.win-amd64-3.7\Release\chirpsdk/_chirpsdk.ob
j
_chirpsdk.c
c:\program files\python37\include\pyconfig.h(203): fatal error C1083: ЌҐ г¤ Ґвбп ®вЄалвм д ©« ўЄ«о祭ЁҐ: basetsd.h: No such file or directory,
error: command ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe’ failed with exit status 2

—————————————-
Command «C:\Users\porta\PycharmProjects\MineBot\venv\Scripts\python.exe -u -c «import setuptools, tokenize;__file__=’C:\\Users\\porta\\AppData\\Local\\Temp\\pip-install-e2_rxj4w\\
chirpsdk\\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\port
a\AppData\Local\Temp\pip-record-8zgnf6s9\install-record.txt —single-version-externally-managed —compile —install-headers C:\Users\porta\PycharmProjects\MineBot\venv\include\sit
e\python3.7\chirpsdk» failed with error code 1 in C:\Users\porta\AppData\Local\Temp\pip-install-e2_rxj4w\chirpsdk\

Asked question
Добавить комментарий