Dear Viktor,
thank you very much for your answer! I have followed your instruction.
After some struggle (I had to change the maximal lenght of PATH of the
filesystem), I have been able to install it. Yet, the last command gives me
an error:
PS C:\Users\HOMEDIR\PyVE\PyPI\Leo> leo --use-docks
leo : The term 'leo' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ leo --use-docks
+ ~~~
+ CategoryInfo : ObjectNotFound: (leo:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
After the change of the maximal path in the filesystem, I have been also
able to install leo in Anaconda Prompt (not possible before).
However, it does not run.
The error I get is:
Enter code here...(base) C:\Users\HOMEDIR>python
Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] ::
Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import leo
>>> leo.run()
leoQt.py: can not fully import PyQt5.
Traceback (most recent call last):
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\core\leoQt.py"
, line 52, in <module>
from PyQt5 import QtCore
ModuleNotFoundError: No module named 'PyQt5.sip'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\__init__.py"
, line 10, in run
import leo.core.runLeo as runLeo
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\core\runLeo.py"
, line 25, in <module>
g.app = leoApp.LeoApp()
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\core\leoApp.py"
, line 338, in __init__
import leo.core.leoFrame as leoFrame
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\core\leoFrame.py"
, line 13, in <module>
import leo.core.leoColorizer as leoColorizer
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\core\leoColorizer.py"
, line 18, in <module>
from leo.core.leoQt import Qsci, QtGui, QtWidgets
File
"C:\Users\HOMEDIR\AppData\Roaming\Python\Python37\site-packages\leo\core\leoQt.py"
, line 82, in <module>
qt_version = QtCore.QT_VERSION_STR
NameError: name 'QtCore' is not defined
Any suggestion?
Best regards,
Jan
On Sunday, 19 April 2020 16:27:28 UTC+2, Viktor Ransmayr wrote:
>
> Hello Iohannes,
>
> Am So., 19. Apr. 2020 um 15:30 Uhr schrieb Iohannes <[email protected]
> <javascript:>>:
>
>> Hi, beginner here.
>>
>> I would like to ask you - is there any user-friendly installer for Leo?
>>
>
> I'm not aware of any Windows-specific installer for Leo at least since
> version 6.0.
>
> I am using Windows and the old version Leo_5.3-b1_Win that I downloaded as
>> a simple .zip, works fine but I am not able to install the latest version.
>> :(
>> I have Anaconda - and pip failed.
>>
>
> *With what error is your pip installation failing?*
>
> The way that I set up Leo on Windows, is to create a dedicated Python
> virtual environment & to install Leo from PyPI using pip into it ...
>
> This is the recipe that works for me on Windows 10 using PowerShell w/o
> any problems:
>
> PS C:\Users\viktor> mkdir PyVE\PyPI
> PS C:\Users\viktor> cd PyVE\PyPI
> PS C:\Users\viktor\PyVE\PyPI> python -m venv Leo
> PS C:\Users\viktor\PyVE\PyPI> cd Leo
> PS C:\Users\viktor\PyVE\PyPI\Leo> .\scripts\activate.ps1
> PS C:\Users\viktor\PyVE\PyPI\Leo> pip install leo
> PS C:\Users\viktor\PyVE\PyPI\Leo> leo --use-docks
>
> I downloaded the version from GitHub and install it from power-shell with
>> pip, it failed also.
>>
>
> With kind regards,
>
> Viktor
>
>
--
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/a867163f-0beb-49ff-b3cf-9873524729c6%40googlegroups.com.