Thank you very much! I used double dash and the installer worked 
successfully:
...
Successfully built leo
Installing collected packages: leo
  Attempting uninstall: leo
    Found existing installation: leo 6.6.4
    Uninstalling leo-6.6.4:
      Successfully uninstalled leo-6.6.4
  WARNING: The scripts leo-c.exe, leo-console.exe, leo-m.exe and 
leo-messages.exe are installed in 
'C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts'
 
which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this 
warning, use --no-warn-script-location.
Successfully installed leo-6.3

C:\Users\user\Apps\Leo\leo-editor-6.3>

However, my attempt to launch Leo is unsuccessful:
C:\Users\user>python C:\Users\user\Apps\Leo\leo-editor-6.3\launchLeo.py


** (python3.10.exe:8084): WARNING **: 15:22:23.005: Error loading plugin: 
'C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\enchant\data\mingw64/lib/enchant-2\enchant_hunspell.dll':
 
The specified module could not be found.

Leo 6.3
Invalid language code for Enchant 'en-US'
Using "en_US" instead
Use @string enchant_language to specify your language
Can not create empty workbook
Traceback (most recent call last):

  File 
"C:\Users\user\Apps\Leo\leo-editor-6.3\leo\commands\spellCommands.py", line 
353, in open_dict_file
    d = enchant.DictWithPWL(language, fn)

  File 
"C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\enchant\__init__.py",
 
line 781, in __init__
    super().__init__(tag, broker)

  File 
"C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\enchant\__init__.py",
 
line 542, in __init__
    super().__init__()

...

What else do I miss? It's hard to believe that Leo can't launch due to 
missing hunspell module.

Thank you once again!


On Monday, October 3, 2022 at 2:36:17 PM UTC+2 tbp1...@gmail.com wrote:

> This follows a very common convention.  A single-letter parameter on the 
> command line takes a single dash, longer parameters take a double dash. 
> E.g., 
>
> -h
> --help
>
> Some programs don't quite follow the convention (java, for example, 
> understands java -version) but Python and Leo do.
>
> On Monday, October 3, 2022 at 8:30:48 AM UTC-4 Thomas Passin wrote:
>
>> I believe you need to type two dashes for the "editable" parameter:
>>
>> pip install --editable ....
>>
>>
>> On Monday, October 3, 2022 at 7:23:41 AM UTC-4 uu86...@gmail.com wrote:
>>
>>> I also tried to avoid cloud storage and whitespace issues by copying Leo 
>>> to another folder, but it did not help either:
>>> C:\Users\user>pip install -editable C:\Users\user\Apps\Leo\leo-editor-6.3
>>>
>>> ERROR: ditable is not a valid editable requirement. It should either be 
>>> a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, 
>>> bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, 
>>> git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, 
>>> svn+ssh, svn+http, svn+https, svn+svn, svn+file).
>>>
>>> On Monday, October 3, 2022 at 1:11:03 PM UTC+2 User User wrote:
>>>
>>>> Update: trying to deal with whitespace in the path did not help:
>>>> C:\Users\user>pip install -editable "C:\Users\user\OneDrive - 
>>>> User\Apps\Leo\leo-editor-6.3"
>>>> ERROR: ditable is not a valid editable requirement. It should either be 
>>>> a path to a local project or a VCS URL (beginning with bzr+http, 
>>>> bzr+https, 
>>>> bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, 
>>>> git+ssh, 
>>>> git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, 
>>>> svn+ssh, svn+http, svn+https, svn+svn, svn+file).
>>>> On Monday, October 3, 2022 at 1:07:11 PM UTC+2 User User wrote:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>> many thanks to Edward and the community for beautiful Leo. Need your 
>>>>> help installing it on Windows.
>>>>>
>>>>> I usually work in Linux and install Leo successfully by downloading 
>>>>> and unpacking leo-editor-6.3.zip and running launchLeo.py with gui=qt 
>>>>> key. 
>>>>> However, it did not work for me in Windows.
>>>>>
>>>>> I already have Python and Qt on my PC. This is what I tried:
>>>>> C:\Users\user>python C:\Users\user\OneDrive - 
>>>>> User\Apps\Leo\leo-editor-6.3\launchLeo.py --gui=qt
>>>>> It fails: can't find '__main__' module in 'C:\\Users\\user\\OneDrive'
>>>>>
>>>>> When I try to run pip install according to Installing from sources 
>>>>> recommendations I get:
>>>>> C:\Users\user>pip install -editable C:\Users\user\OneDrive - 
>>>>> User\Apps\Leo\leo-editor-6.3
>>>>> ERROR: Directory 'C:\\Users\\user\\OneDrive' is not installable. 
>>>>> Neither 'setup.py' nor 'pyproject.toml' found.
>>>>>
>>>>> "Installing Leo with pip" recommendation did not work for me either. 
>>>>> Also, I prefer Leo 6.3.
>>>>>
>>>>> Appreciate any advice on how to install Leo (ideally, 6.3) on Windows!
>>>>>
>>>>> Kind regards, Serhii
>>>>
>>>>

-- 
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/fb7360d9-b450-4c96-be84-69dede46df1fn%40googlegroups.com.

Reply via email to