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

binary install on ubuntu does not work. (QEMU-185) #94

Closed
FransM opened this issue Feb 20, 2024 · 3 comments
Closed

binary install on ubuntu does not work. (QEMU-185) #94

FransM opened this issue Feb 20, 2024 · 3 comments
Labels

Comments

@FransM
Copy link

FransM commented Feb 20, 2024

Not sure if this is an issue for this git, but reporting it anyway.

I tried to install qemu emulator on Ubuntu 22.04 64 bit. as outlined here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/qemu.html

python $IDF_PATH/tools/idf_tools.py install qemu-xtensa qemu-riscv32

That installs but when I try to run it I get:


frans@laptop:~/git/esp-idf$ idf.py qemu 
The following Python requirements are not satisfied:
Requirement 'pyparsing>=3.1.0' was not met. Installed version: 3.0.9
To install the missing packages, please run "install.sh"
Diagnostic information:
    IDF_PYTHON_ENV_PATH: /home/frans/.espressif/python_env/idf5.3_py3.10_env
    Python interpreter used: /home/frans/.espressif/python_env/idf5.3_py3.10_env/bin/python
Constraint file: /home/frans/.espressif/espidf.constraints.v5.3.txt
Requirement files:
 - /home/frans/git/esp-idf/tools/requirements/requirements.core.txt

I reran install.sh but that did not work

And when I try to reinstally pyparsing through pip I get

frans@laptop:~/git/esp-idf$ pip install pyparsing
Requirement already satisfied: pyparsing in /home/frans/.espressif/python_env/idf5.3_py3.10_env/lib/python3.10/site-packages (3.0.9)
@github-actions github-actions bot changed the title binary install on ubuntu does not work. binary install on ubuntu does not work. (QEMU-185) Feb 20, 2024
@igrr
Copy link
Member

igrr commented Feb 20, 2024

It doesn't look like a QEMU-specific issue, you'll probably get the same error for other idf.py commands if the required package is not installed.

Please try installing libslirp and libsdl2.0, and then run install.sh and . ./export.sh again, perhaps that is the issue you have encountered: espressif/esp-idf#13152

@FransM
Copy link
Author

FransM commented Feb 21, 2024

@igrr that did not work.
I have no issues with other esp-idf commands
The pyparsing module was not up to date.
After doing a
pip install --upgrade pyparsing
I could run the pre-build qemu.

@FransM FransM closed this as completed Feb 21, 2024
@igrr
Copy link
Member

igrr commented Feb 21, 2024

I see, that's interesting! I still don't understand why only one idf.py command was failing, as the python environment check is also done for the rest of the commands. But since you have solved the issue, let's keep it closed. We can investigate if it gets reported again.

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

No branches or pull requests

3 participants