V3.2 compile hello, cryptography ?
Posted: Mon Jan 07, 2019 10:32 am
To get some first ideas about V3.2, tried to compile hello example and got this
Running python install as mentioned get this
Looks to me like having 2 different methods to recognize cryptography
Looking into site-pacckages I see folder for cryptography and cryptography-2.4.2-py2.7.egg-info
Any idea whats going wrong ?
Code: Select all
esp32@v12116:~/V3.2/esp-idf/examples/get-started/hello_world$ make
Toolchain path: /home/esp32/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
The following Python requirements are not satisfied:
cryptography>=2.1.4
Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages. Alternatively, you can run "/usr/bin/python -m pip install --user -r /home/esp32/V3.2/esp-idf/requirements.txt" for resolving the issue.
Code: Select all
esp32@v12116:~/V3.2/esp-idf/examples/get-started/hello_world$ /usr/bin/python -m pip install --user -r /home/esp32/V3.2/esp-idf/requirements.txt
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from -r /home/esp32/V3.2/esp-idf/requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): pyserial>=3.0 in /home/esp32/.local/lib/python2.7/site-packages (from -r /home/esp32/V3.2/esp-idf/requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): future>=0.15.2 in /home/esp32/.local/lib/python2.7/site-packages (from -r /home/esp32/V3.2/esp-idf/requirements.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): cryptography>=2.1.4 in /home/esp32/.local/lib/python2.7/site-packages (from -r /home/esp32/V3.2/esp-idf/requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.0.3 in /home/esp32/.local/lib/python2.7/site-packages (from -r /home/esp32/V3.2/esp-idf/requirements.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): idna>=2.1 in /home/esp32/.local/lib/python2.7/site-packages (from cryptography>=2.1.4->-r /home/esp32/V3.2/esp-idf/requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): asn1crypto>=0.21.0 in /home/esp32/.local/lib/python2.7/site-packages (from cryptography>=2.1.4->-r /home/esp32/V3.2/esp-idf/requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography>=2.1.4->-r /home/esp32/V3.2/esp-idf/requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.7,!=1.11.3 in /home/esp32/.local/lib/python2.7/site-packages (from cryptography>=2.1.4->-r /home/esp32/V3.2/esp-idf/requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): pycparser in /home/esp32/.local/lib/python2.7/site-packages (from cffi>=1.7,!=1.11.3->cryptography>=2.1.4->-r /home/esp32/V3.2/esp-idf/requirements.txt (line 10))
Cleaning up...
Looking into site-pacckages I see folder for cryptography and cryptography-2.4.2-py2.7.egg-info
Any idea whats going wrong ?