On Linux systems that don't allow installing user packages with pip because 
the system python is managed by the system, you can force installation 
using the --break-system packages option, like this:

python3 -m pip install --user --upgrade --break-system-packages 
leo==6.7.8.post1

You will know if this applies to you because you will have seen a message 
that starts like this:

error: externally-managed-environment
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.

The risk of actually over-riding a system package with the wrong version is 
probably minimal since Leo doesn't seem to use packages in the system 
directories.

If you already are using a venv for Leo, then there should be no problem 
with the install.

On Tuesday, March 19, 2024 at 11:12:32 PM UTC-4 Thomas Passin wrote:

Installed OK on Ubuntu 22.04, Python 3.10.


On Tuesday, March 19, 2024 at 10:31:46 PM UTC-4 Thomas Passin wrote:

python3 -m pip install --user --upgrade leo==6.7.8.post1 succeeded on Linux 
Debian, although I had to install *libxcb-cursor0* afterwards, as we've 
been seeing on some other distros.  After the install:

Leo 6.7.8.post1
Python 3.9.2, PyQt version 6.6.2
linux


On Tuesday, March 19, 2024 at 5:39:27 PM UTC-4 Edward K. Ream wrote:

You can now install Leo *6.7.8.post1* from pypi 
<https://pypi.org/project/leo/>. This "post" release changes only 
distribution-related files. See PR #3835 
<https://github.com/leo-editor/leo-editor/pull/3835/files> for the details.


The "post1" prefix is required to meet the more stringent pypi naming 
conventions.


Please test the installation process immediately and report your experience.


I'll announce Leo 6.7.8 widely when you all give the all-clear :-)


Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ffe319a5-dacb-4917-9701-a959f55891dbn%40googlegroups.com.

Reply via email to