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 [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/787c8360-6714-403e-9a39-0452c325f435n%40googlegroups.com.
