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

Help me to install bauh store #257

Open
Hubvinod opened this issue Jan 19, 2025 · 1 comment
Open

Help me to install bauh store #257

Hubvinod opened this issue Jan 19, 2025 · 1 comment

Comments

@Hubvinod
Copy link

I tried tmoe to install bauh store , i got error ,
Can u give direct solution to fix it .

This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.�

@shadow01a
Copy link

(I used AI translation.)

Due to many restrictions, I had to use multiple steps to proceed. Here, I will only describe the method that allowed me to install successfully.

  1. Use apt to install PyQt5, which is a dependency for bauh (because it cannot be installed using pip here).

sudo apt install python3-pyqt5

2.Copy all contents under /usr/lib/python3/dist-packages/ to another location (such as the desktop).

3.Install venv and create an environment.

sudo pip3 install bauh
python3 -m venv bauh_env

4.Delete all contents under /home/tiny/bauh_env/lib/python3.11/site-packages/ , and then paste the previously copied contents into it.

5.Use pip install bauh

bauh_env/bin/pip install bauh

6.And then follow the official documentation to use.

Note: Prefix all commands with "bauh_env/bin/", such as when starting bauh.
bauh_env/bin/bauh

I referred to these:github #266

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

2 participants