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

Install v5.3.2 error (IDFGH-14194) #14993

Closed
3 tasks done
Temik007 opened this issue Dec 6, 2024 · 6 comments
Closed
3 tasks done

Install v5.3.2 error (IDFGH-14194) #14993

Temik007 opened this issue Dec 6, 2024 · 6 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@Temik007
Copy link

Temik007 commented Dec 6, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.3.2

Operating System used.

Windows

How did you build your project?

Other (please specify in More Information)

If you are using Windows, please specify command line type.

CMD

What is the expected behavior?

Install OK

What is the actual behavior?

Install error

Steps to reproduce.

  1. Try install v5.3.2
  2. Profit

Build or installation Logs.

ERROR: Cannot install -r C:\Espressif\frameworks\esp-idf-v5.3.2\tools\requirements\requirements.core.txt (line 15) because these package versions have conflicting dependencies.
                          
                          The conflict is caused by:
                              esp-idf-kconfig 2.3.0 depends on windows-curses; platform_system == "Windows"
                              esp-idf-kconfig 2.2.0 depends on windows-curses; platform_system == "Windows"
                              esp-idf-kconfig 2.1.0 depends on windows-curses; platform_system == "Windows"
                              esp-idf-kconfig 2.0.2 depends on windows-curses; platform_system == "Windows"
                          
                          To fix this you could try to:
                          1. loosen the range of package versions you've specified
                          2. remove package versions to allow pip to attempt to solve the dependency conflict
                          
                          ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
                          Traceback (most recent call last):
                            File "C:\Espressif\frameworks\esp-idf-v5.3.2\tools\idf_tools.py", line 3239, in <module>
                              main(sys.argv[1:])
                              ~~~~^^^^^^^^^^^^^^
                            File "C:\Espressif\frameworks\esp-idf-v5.3.2\tools\idf_tools.py", line 3231, in main
                              action_func(args)
                              ~~~~~~~~~~~^^^^^^
                            File "C:\Espressif\frameworks\esp-idf-v5.3.2\tools\idf_tools.py", line 2678, in action_install_python_env
                              subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr, env=env_copy)
                              ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            File "C:\Program Files\Python313\Lib\subprocess.py", line 419, in check_call
                              raise CalledProcessError(retcode, cmd)
                          subprocess.CalledProcessError: Command '['C:\\Espressif\\python_env\\idf5.3_py3.13_env\\Scripts\\python.exe', '-m', 'pip', 'install', '--no-warn-script-location', '-r', 'C:\\Espressif\\frameworks\\esp-idf-v5.3.2\\tools\\requirements\\requirements.core.txt', '--upgrade', '--constraint', 'C:\\Espressif\\espidf.constraints.v5.3.txt', '--extra-index-url', 'https://dl.espressif.com/pypi']' returned non-zero exit status 1.

More Information.

No response

@Temik007 Temik007 added the Type: Bug bugs in IDF label Dec 6, 2024
@github-actions github-actions bot changed the title Install v5.3.2 error Install v5.3.2 error (IDFGH-14194) Dec 6, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 6, 2024
@Temik007
Copy link
Author

Temik007 commented Dec 6, 2024

Sorry
remove /USEEMBEDDEDPYTHON=no and it's works

@Temik007 Temik007 closed this as completed Dec 6, 2024
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Dec 7, 2024
@dehghanmr
Copy link

Where is /USEEMBEDDEDPYTHON=no?

@Zelgoth
Copy link

Zelgoth commented Dec 8, 2024

Same issue with command line setup. Could you please explain the fix in a little more detail @Temik007?

@Temik007
Copy link
Author

Temik007 commented Dec 9, 2024

@dehghanmr issue with command line esp-idf-tools-setup using /USEEMBEDDEDGIT and /USEEMBEDDEDPYTHON - https://github.com/espressif/idf-installer

@Zelgoth
Use esp-idf-tools-setup-online-2.3.2.exe
It's work!

@ceerqingtingml
Copy link

@Zelgoth Are you using python 3.13? Please use python 3.12 instead.

@Zelgoth
Copy link

Zelgoth commented Dec 15, 2024

Thank you @ceerqingtingml. This fixed the issue. Now using 3.12.8 and it installed just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

5 participants