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

cxxfilt was included in official NuttX documentation install but is not present on Ubuntu #11376

Closed
acassis opened this issue Dec 12, 2023 · 3 comments

Comments

@acassis
Copy link
Contributor

acassis commented Dec 12, 2023

I receive a comment from a user trying to install NuttX dependencies and cannot figure out how to install cxxfilt because pip message recommends to run apt install python3-cxxfilt but this packet doesn't exist on Ubuntu.

More info:
https://www.embeddedrelated.com/showarticle/1524.php#comments

@xiaoxiang781216 any idea how to solve this issue?

@xiaoxiang781216
Copy link
Contributor

I am using Ubuntu 22.04, the installation run without problem. @Gary-Hobson do you encounter the similar problem?

@Gary-Hobson
Copy link
Contributor

I am using ubuntu 22.04, but I reproduced this problem in docker

I found the reason and solution on stackoverflow: https://stackoverflow.com/questions/75602063/pip-install-r-requirements-txt-is-failing-this-environment-is-externally-mana

The recommended solution is:

python3 -m venv .venv
source .venv/bin/activate
pip install cxxfilt

A simpler way is:

pip install --break-system-packages --user cxxfilt

@acassis
Copy link
Contributor Author

acassis commented Dec 13, 2023

Thank you @Gary-Hobson and @xiaoxiang781216

@acassis acassis closed this as completed Dec 13, 2023
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

3 participants