I haven't used pipx, but two things come to mind, and maybe you have 
covered the first already.

1. Log out and log in again (or better, reboot since there are new global 
paths involved) to make sure that the new paths actually get exported. This 
is the first resort for problems after changing paths.  pipx may have 
changed the scripts that set the new paths but it probably didn't source
 them.
2. I would have installed Qt6 (and Leo) using *--user* to avoid potential 
version conflicts with system programs (maybe pipx automatically does the 
equivalent, I don't know)

On Monday, July 29, 2024 at 5:08:55 AM UTC-4 lewis wrote:

> Some progress :)
> Leo is installed at /home/lewisneal/leo-editor 
>
> lewisneal:~/leo-editor$ python3 launchLeo.py
> 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/lewisneal/leo-editor/leo/core/runLeo.py", line 45, in 
> <module>
>     from leo.core import leoApp
>   File "/home/lewisneal/leo-editor/leo/core/leoApp.py", line 21, in 
> <module>
>     from leo.core.leoQt import QCloseEvent
>   File "/home/lewisneal/leo-editor/leo/core/leoQt.py", line 5, in <module>
>     from PyQt6 import QtCore, QtGui, QtWidgets
> ModuleNotFoundError: No module named 'PyQt6'
> lewisneal:~/leo-editor$ pwd
> /home/lewisneal/leo-editor
>
>
> lewisneal:~$ sudo pipx install PyQt6
> [sudo] password for lewisneal:
>   installed package pyqt6 6.7.1, installed using Python 3.11.2
>   These apps are now globally available
>     - pylupdate6
>     - pyuic6
> ⚠️  Note: '/root/.local/bin' is not on your PATH environment variable. 
> These
>     apps will not be globally accessible until your PATH is updated. Run 
> `pipx
>     ensurepath` to automatically add it, or manually modify your PATH in 
> your
>     shell's config file (i.e. ~/.bashrc).
> done! ✨ 🌟 ✨
> lewisneal:~$
>
> lewisneal:~$ pipx ensurepath
> Success! Added /home/lewisneal/.local/bin to the PATH environment variable.
>
> Consider adding shell completions for pipx. Run 'pipx completions' for
> instructions.
>
> You will need to open a new terminal or re-login for the PATH changes to 
> take
> effect.
>
> Otherwise pipx is ready to go! ✨ 🌟 ✨
> lewisneal:~$
>
> *However I still get error:*
> lewisneal:~/leo-editor$ python3 launchLeo.py
> 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/lewisneal/leo-editor/leo/core/runLeo.py", line 45, in 
> <module>
>     from leo.core import leoApp
>   File "/home/lewisneal/leo-editor/leo/core/leoApp.py", line 21, in 
> <module>
>     from leo.core.leoQt import QCloseEvent
>   File "/home/lewisneal/leo-editor/leo/core/leoQt.py", line 5, in <module>
>     from PyQt6 import QtCore, QtGui, QtWidgets
> ModuleNotFoundError: No module named 'PyQt6'
>
>
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/1affb5ea-c181-417c-9867-5931d5d621acn%40googlegroups.com.

Reply via email to