-
Notifications
You must be signed in to change notification settings - Fork 355
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
[BUG] error: externally-managed-environment #1312
Comments
Are you sure --break-system-packages as mentioned in #1305 is the correct way do do it, as pip may break Python modules that part of the Debian system depends on. I think it's recommend to install it with pipx (in the "pipx" Debian |
i've done this way. it has been working without issues. it's your decision to try it. since you've upgraded from |
It seems there is an open request to package it officially in Debian, but there hasn't been any progress in a few years: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921251 |
The Debian provided python3 interpreter packages (python3.11 and pypy3) are now marked as being externally-managed, following PEP-668. The version of python3-pip provided in Debian follows this, and will refuse to manually install packages on Debian's python interpreters, unless the --break-system-packages option is specified. |
Finally I did a reinstall using:
and then
At the end of the installation I got the following warning: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv But nevertheless OpenTimestamps client reported that it's properly installed again.
It seems to work fine and no problems so far. |
This issue is marked as |
This issue has been closed due to inactivity. |
Describe the bug
Since then I've upgraded to Debian Bookworm and when trying to use the OpenTimestamps client I get the following error:
Location in guide
[https://raspibolt.org/guide/bitcoin/bitcoin-client.html#opentimestamps-client]
Expected behavior
I installed the open opentimestamps-client on Debain BullsEye some months ago using:
$ sudo apt-get install python3 python3-dev python3-pip python3-setuptools python3-wheel
and
$ sudo pip3 install opentimestamps-client
I also checked the OpenTimestamps client version to check that it is properly installed
An everything seemed to work fine and I used it many times to verify more timestamps, when installing additional programs (e.g. LND) and when updating existing programs to a newer version.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: