[已解决] linux环境搭建问题

1163167506
Posts: 30
Joined: Mon Jun 11, 2018 5:52 am

[已解决] linux环境搭建问题

Postby 1163167506 » Tue May 14, 2019 2:05 am

半年前用esp32做了一个wifi产品。如今要修改需求。
但是发现git上新加了很多更能,所以打算重新拉代码,搭建环境
------------------------分割线----------------------------------
编译的时候报python不满足条件
admins@admins-VirtualBox:~/esp/my_app/hello_world$ make menuconfig
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/admins/esp/esp-idf/requirements.txt" for resolving the issue.

但是输入pip list显示已经安装cryptography了呀
admins@admins-VirtualBox:~/esp/my_app/hello_world$ pip list
adium-theme-ubuntu (0.3.4)
apt-xapian-index (0.45)
argparse (1.2.1)
asn1crypto (0.24.0)
cffi (1.9.0)
chardet (2.0.1)
CherryPy (3.2.2)
colorama (0.2.5)
command-not-found (0.3)
cryptography (2.1.4)
debtagshw (0.1)
defer (1.0.6)
dirspec (13.10)
===========================================================
求指点

1163167506
Posts: 30
Joined: Mon Jun 11, 2018 5:52 am

Re: linux环境搭建问题

Postby 1163167506 » Tue May 14, 2019 3:10 am

已经解决了
要sudo su
再执行python -m pip install --user -r /home/admins/esp/esp-idf/requirements.txt

不能sudo python -m pip install --user -r /home/admins/esp/esp-idf/requirements.txt

Who is online

Users browsing this forum: No registered users and 170 guests