Hello Thomas,

[email protected] schrieb am Freitag, 12. Juli 2024 um 14:30:05 UTC+2:

On Friday, July 12, 2024 at 5:57:22 AM UTC-4 [email protected] wrote:

Hello Edward,

There is a problem with the latest release of Leo from PyPI


I can confirm this on both Linux and Windows, and the cause is that pip 
isn't installing *any* of the dependencies into the venv.  If you have a 
venv that already contains the dependencies (from a previous installation) 
then upgrading to Leo 6.8.0 will appear to succeed because those 
dependencies were already there.


Just a small clarification: The problem is NOT related / specific to 'venv'.

That is it also happens if you try to install Leo 6.8.0 from PyPI system 
wide !

For a change I did verify this statement with a new Fedora Linux 40 VM - 
See "Log-001" & "Log-002".

With kind regards,

Viktor

### Log-001

    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ uname --all
    Linux Test-VM2 6.6.33-1.qubes.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Mon 
Jun 17 13:20:02 GMT 2024 x86_64 GNU/Linux
    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ python3 --version
    Python 3.12.4
    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ python3 -m pip --version
    pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12)
    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ python3 -m pip list
    Package           Version
    ----------------- --------
    cffi              1.16.0
    dbus-python       1.3.2
    distro            1.9.0
    dnf               4.21.0
    docutils          0.20.1
    gbulb             0.6.4
    idna              3.7
    libcomps          0.1.20
    libdnf            0.73.2
    lockfile          0.12.2
    numpy             1.26.4
    olefile           0.47
    pillow            10.3.0
    pip               23.3.2
    ply               3.11
    pycairo           1.25.1
    pycparser         2.20
    PyGObject         3.48.2
    pygrub            0.7
    pyinotify         0.9.6
    pyparsing         3.1.2
    PySocks           1.7.1
    python-daemon     2.3.2
    python-dateutil   2.8.2
    pyxdg             0.27
    qrexec            4.2.19
    qubesagent        4.2.35
    QubesDB           1.0
    qubesimgconverter 4.2.17
    rpm               4.19.1.1
    setuptools        69.0.3
    six               1.16.0
    systemd-python    235
    urllib3           1.26.19
    xcffib            1.5.0
    [user@Test-VM2 ~]$ 

### Log-002

    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ python3 -m pip install leo
    Defaulting to user installation because normal site-packages is not 
writeable
    Collecting leo
      Downloading leo-6.8.0-py3-none-any.whl.metadata (3.7 kB)
    Downloading leo-6.8.0-py3-none-any.whl (19.5 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.5/19.5 MB 200.1 kB/s eta 
0:00:00
    Installing collected packages: leo
    Successfully installed leo-6.8.0
    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ which leo
    ~/.local/bin/leo
    [user@Test-VM2 ~]$ 
    [user@Test-VM2 ~]$ leo --version
    Error starting Leo!
    Please verify you've installed the required dependencies:
    https://leo-editor.github.io/leo-editor/installing.html
    Please ask for help at https://groups.google.com/g/leo-editor

    Traceback (most recent call last):
      File 
"/home/user/.local/lib/python3.12/site-packages/leo/core/runLeo.py", line 
45, in <module>
        from leo.core import leoApp
      File 
"/home/user/.local/lib/python3.12/site-packages/leo/core/leoApp.py", line 
21, in <module>
        from leo.core.leoQt import QCloseEvent
      File 
"/home/user/.local/lib/python3.12/site-packages/leo/core/leoQt.py", line 5, 
in <module>
        from PyQt6 import QtCore, QtGui, QtWidgets
    ModuleNotFoundError: No module named 'PyQt6'
    [user@Test-VM2 ~]$ 
 

-- 
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/d0fee622-dcf6-4102-b5c4-87b2c3fae87bn%40googlegroups.com.

Reply via email to