Administrator@MS1351015JTR MINGW32 ~/esp
$ dir
dbt_spp_acceptor btinit esp-idf hello_world
Administrator@MS1351015JTR MINGW32 ~/esp
$ cd btinit
Administrator@MS1351015JTR MINGW32 ~/esp/btinit
$ make
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
The following Python requirements are not satisfied:
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3
Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages. Alternatively, you can run "C:/msys32/mingw32/bin/python.exe -m pip install --user -r C:/msys32/home/Administrator/esp/esp-idf/requirements.txt" for resolving the issue.
make: *** [C:/msys32/home/Administrator/esp/esp-idf/make/project.mk:471:check_python_dependencies] 错误 1
Administrator@MS1351015JTR MINGW32 ~/esp/btinit
$
==================================================
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>C:/msys32/mingw32/bin/python.exe -m pip install --user -r
C:/msys32/home/Administrator/esp/esp-idf/requirements.txt
Requirement already satisfied: setuptools in c:\msys32\mingw32\lib\python2.7\sit
e-packages (from -r C:/msys32/home/Administrator/esp/esp-idf/requirements.txt (l
ine 4)) (36.6.0.post20171017)
Requirement already satisfied: pyserial>=3.0 in c:\msys32\mingw32\lib\python2.7\
site-packages (from -r C:/msys32/home/Administrator/esp/esp-idf/requirements.txt
(line 8)) (3.4)
Requirement already satisfied: future>=0.15.2 in c:\users\administrator\.local\l
ib\python2.7\site-packages (from -r C:/msys32/home/Administrator/esp/esp-idf/req
uirements.txt (line 9)) (0.17.1)
Requirement already satisfied: cryptography>=2.1.4 in c:\msys32\mingw32\lib\pyth
on2.7\site-packages (from -r C:/msys32/home/Administrator/esp/esp-idf/requiremen
ts.txt (line 10)) (2.4.2)
Requirement already satisfied: pyparsing>=2.0.3 in c:\users\administrator\.local
\lib\python2.7\site-packages (from -r C:/msys32/home/Administrator/esp/esp-idf/r
equirements.txt (line 11)) (2.3.0)
Requirement already satisfied: idna>=2.1 in c:\msys32\mingw32\lib\python2.7\site
-packages (from cryptography>=2.1.4->-r C:/msys32/home/Administrator/esp/esp-idf
/requirements.txt (line 10)) (2.7)
Requirement already satisfied: asn1crypto>=0.21.0 in c:\msys32\mingw32\lib\pytho
n2.7\site-packages (from cryptography>=2.1.4->-r C:/msys32/home/Administrator/es
p/esp-idf/requirements.txt (line 10)) (0.24.0)
Requirement already satisfied: six>=1.4.1 in c:\users\administrator\.local\lib\p
ython2.7\site-packages (from cryptography>=2.1.4->-r C:/msys32/home/Administrato
r/esp/esp-idf/requirements.txt (line 10)) (1.11.0)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in c:\msys32\mingw32\lib\pytho
n2.7\site-packages (from cryptography>=2.1.4->-r C:/msys32/home/Administrator/es
p/esp-idf/requirements.txt (line 10)) (1.10.0)
Requirement already satisfied: enum34 in c:\users\administrator\.local\lib\pytho
n2.7\site-packages (from cryptography>=2.1.4->-r C:/msys32/home/Administrator/es
p/esp-idf/requirements.txt (line 10)) (1.1.6)
Requirement already satisfied: ipaddress in c:\users\administrator\.local\lib\py
thon2.7\site-packages (from cryptography>=2.1.4->-r C:/msys32/home/Administrator
/esp/esp-idf/requirements.txt (line 10)) (1.0.22)
Requirement already satisfied: pycparser in c:\msys32\mingw32\lib\python2.7\site
-packages (from cffi!=1.11.3,>=1.7->cryptography>=2.1.4->-r C:/msys32/home/Admin
istrator/esp/esp-idf/requirements.txt (line 10)) (2.19)
C:\Users\Administrator>
ESP32 could not compile, how to figure it out.
Re: ESP32 could not compile, how to figure it out.
Hi zhaogan,
Something unusual is happening with your Python installation.
There are some Python packages installed in c:\users\administrator\.local\lib\python2.7 (this is outside MSYS2 so it may be the result of another Python install on your computer) and some are installed in c:\msys32\mingw32\lib\python2.7 (this is where we expect them to be installed for MSYS2).
"pip" can somehow see the first directory, but the check_dependencies.py test does not see this directory. Even though they are both the same Python installation and should be looking in the same directories.
Something unusual is happening with your Python installation.
There are some Python packages installed in c:\users\administrator\.local\lib\python2.7 (this is outside MSYS2 so it may be the result of another Python install on your computer) and some are installed in c:\msys32\mingw32\lib\python2.7 (this is where we expect them to be installed for MSYS2).
"pip" can somehow see the first directory, but the check_dependencies.py test does not see this directory. Even though they are both the same Python installation and should be looking in the same directories.
- If you run the command "env | grep -i python" in the terminal, do you see any output? There may be some variable like PYTHONPATH which is pointing the local Python install to c:users\administrator\.local\lib\python2.7 .
- If you're not using any other install of Python on your computer, you could try deleting the c:\users\administrator\.local\lib\python2.7 directory and then run pip again. However this may delete other Python packages which you need for some other purpose.
Who is online
Users browsing this forum: Majestic-12 [Bot] and 139 guests