本来以为arduino的esp32就够难安装了,没想到win10上vscode的IDF才是灾难
但是没有办法现在arduino的不够用了,没有办法用meun config去配置一些细节的设置用于节约内存
只能安装IDF
但是从昨晚上装到现在都没有装好,
一开始是github的源没法下载,后来换了官方的,安装过程又出一堆问题
主要在py上,乱七八糟爆了一堆错,一个个搜索再安装,但是还是各种问题,最后换了清华的pip源稍微好了一点
但是现在依然安装不上
我的系统是win10 vscode 稳定版
安装的4.4 还是5 都试了全部都会卡在一些莫名奇妙的地方
目前是卡在最后一个py的环境安装上
下面是报错,那位大神来帮个忙呗,
building 'psu
til._psutil_windows' extension
creating buildtemp.win-amd64-cpython-38
creating buildtemp.win-amd64-cpython-38Release
creating buildtemp.win-amd64-cpython-38Releasepsutil
creating buildtemp.win-amd64-cpython-38Releasepsutilarch
creating buildtemp.win-amd64-cpython-38Releasepsutilarchwindows
"Y:Program Files (x86)Microsoft Visual Studio2019ProfessionalVCToolsMSVC14.29.30133binHostX86x64cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=594 -DPy_LIMITED_API=0x03060000 -DPSUTIL_WINDOWS=1 -D_WIN32_WINNT=0x01000 -D_AVAIL_WINVER_=0x01000 -D_CRT_SECURE_NO_WARNINGS -DPSAPI_VERSION=1 -IH:Espressifpython_envidf4.4_py3.8_envinclude -IH:Espressiftoolsidf-python3.8.7include -IH:Espressiftoolsidf-python3.8.7Include "-IY:Program Files (x86)Microsoft Visual Studio2019ProfessionalVCToolsMSVC14.29.30133ATLMFCinclude" "-IY:Program Files (x86)Microsoft Visual Studio2019ProfessionalVCToolsMSVC14.29.30133include" "-IC:Program Files (x86)Windows KitsNETFXSDK4.8includeum" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0ucrt" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0shared" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0um" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0winrt" "-IC:Program Files (x86)Windows Kits10include10.0.19041.0cppwinrt" /Tcpsutil/_psutil_common.c /Fobuildtemp.win-amd64-cpython-38Releasepsutil/_psutil_common.obj
_psutil_common.c
psutil/_psutil_common.c(9): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
error: command 'Y:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for psutil
ERROR: Could not build wheels for psutil which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.3.3; however, version 22.3.1 is available.
You should consider upgrading via the 'H:Espressifpython_envidf4.4_py3.8_envScriptspython.exe -m pip install --upgrade pip' command.
0