Skip to content
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

ERROR: Could not find a version that satisfies the requirement bidict>=0.21.0 (IDFGH-4431) #6262

Closed
GunashekarG opened this issue Dec 14, 2020 · 13 comments

Comments

@GunashekarG
Copy link

OS: Ubuntu Mate
Version: v4.2

While installing the ESP-IDF for ESPS2, I am finding an error as shown below.
Error_installation

Requirements file is also attached below.

requirements.txt

My current pip version is: pip 20.3.1 (python 2.7)

Can anyone please solve this issue?

@github-actions github-actions bot changed the title ERROR: Could not find a version that satisfies the requirement bidict>=0.21.0 ERROR: Could not find a version that satisfies the requirement bidict>=0.21.0 (IDFGH-4431) Dec 14, 2020
@fetullah-usr
Copy link

+1

@dobairoland
Copy link
Collaborator

dobairoland commented Dec 15, 2020

Hi @GunashekarG & @fetullah-usr. We already fixed this but the change haven't made it into Github yet. The following checksums will become clickable links when it does: dc98d0a for master, 9ff5f94 for v4.2.

Until then the workaround is to add manually the following line into the requirements.txt:
python-socketio<5; python_version<="2.7"

We are sorry for the inconvenience.

@dobairoland dobairoland reopened this Dec 15, 2020
@dobairoland
Copy link
Collaborator

The long term recommendation is to switch to Python 3: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-setup.html#setting-up-python-3-as-default-for-ubuntu-and-debian

That will also fix the above issue and avoid future Python 2 incompatibilities.

@GunashekarG
Copy link
Author

It's working now after updating to Python3. Thank you guys. Cheers.

@dobairoland
Copy link
Collaborator

Thank you for the feedback. I keep this open for others to see it until the fix will be available.

@ellipsistechnology
Copy link

This worked for me also - thanks for the help.
One note (probably only an issue on Mac) if you are having issues convincing it to run with Python3 (as is common on recent version of Mac OS) you can force the tools/idf_tools.py script to use Python3 by changing its first line to #!/usr/bin/env python3 and then run ./install.sh.

@dobairoland
Copy link
Collaborator

The fix is available in master now: dc98d0a

@MohamedZaheri
Copy link

@dobairoland , the fix is merged to master but not to the V4.2 release branch, is it? Because I still have same issue using the V4.2 branch.

@jtchitty
Copy link
Contributor

The long term recommendation is to switch to Python 3: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-setup.html#setting-up-python-3-as-default-for-ubuntu-and-debian

That will also fix the above issue and avoid future Python 2 incompatibilities.

This is very likely going to cause problems for other things on the system. It has for us, several times. It breaks other things in very subtle and hard-to-debug ways. In fact, this is the one major complaint I have with the ESP-IDF Getting Started for Ubuntu and Debian.

The long-term plan should be to update the ESP-IDF to not require a specific system-wide default. ;)

@dobairoland
Copy link
Collaborator

@MohamedZaheri The fix is in v4.2 as well: 9ff5f94

@dobairoland
Copy link
Collaborator

The long-term plan should be to update the ESP-IDF to not require a specific system-wide default. ;)

@jtchitty Yes, that is on the table.

@d42ohpaz
Copy link

d42ohpaz commented Feb 22, 2021

I just downloaded - as of today - ESP-IDF from your website and ran into this problem. Did this fix make its way into the official release?

After switching the repository to master, I of course had no issues with installation. Thank you.

Edit: This is the link I used to download. Here is the page on the website with the link to the broken zip file.

@dobairoland
Copy link
Collaborator

@9ae8sdf76 Unfortunately, the fix haven't made into v4.2. It will be included in v4.2.1.

It is already available in the branch https://github.com/espressif/esp-idf/tree/release/v4.2. You can already use that branch. Or you can manually apply the patch to your v4.2 copy.

We are sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants