-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named pip (Ubuntu 20.04 LTS) (IDFGH-4859) #6656
Comments
Hi @JarrettR. I'm sorry for the inconvenience. Thank you for taking the time by patching your branch and providing lot of information. I'm going to reproduce this on a clear Ubuntu 20.04. Have you installed Could you please provide the output of the following command? python --version ; python -m virtualenv /tmp/py ; rm -r /tmp/py Could you please run also the following? Does it fix your issue? python $IDF_PATH/tools/idf_tools.py install-python-env --reinstall |
That fixed it, thank you! For future reference, virtualenv wasn't installed on my system, so that command failed at first. After installing it, I got this:
And then I also tried installing the IDF again from zip. Same issue. The |
Great! I'm happy that it is solved.
That is weird. It is should have been installed automatically. I'm adding some additional checks and the virtual environment will be reinstalled in similar cases. This will be closed with my patch. |
Hi @dobairoland I'm not sure if this is related, I got below error with master tree (v4.4-dev-744-g1cb31e50943b). $ python -m pip install --user -r $IDF_PATH/requirements.txt -r $IDF_PATH/tools/ble/requirements.txt |
@AxelLin You don't need (and cannot use) the |
Hi @dobairoland configure: error: Package requirements (dbus-1 >= 1.8) were not met: No package 'dbus-1' found Consider adjusting the PKG_CONFIG_PATH environment variable if you |
@AxelLin Thank you for reporting this. Could you please open a new issue for it? The person responsible for this will take care of it. The issue is that the requirements for BLE are separated from the general requirements of ESP-IDF. This means also that the installed prerequisites of ESP-IDF won't be enough for the tools of BLE. You can fix this by installing DBUS with |
Environment
Problem Description
Installing the IDF on Ubuntu 20.04 LTS fails. Running
.install.sh
fails with an error message complaining that pip is not found.Worth noting that my system does not have Python 2 installed. Pip3 is installed, and it seems that
pip
is symlinked topip3
.Steps to reproduce
.install.sh
Debug Logs
This isn't a VSCode issue as far as I can tell, manually running
install.sh
as recommended by this repo's docs are essentially the same:Other items if possible
I'm aware of this commit:
dc70cd1
Which solves a similar issue for Mac OS, here: #6532 . I manually patched my current IDF with that update, but that didn't work, and I also tried the current 4.1 dev branch. Have also tried 4.3.
Also not fixed by #6471
The text was updated successfully, but these errors were encountered: