> Nope, still no good.  I did a fresh zip download, then:
> [nbecker@nbecker2 leo-editor]$ pip3 install --user --editable .
> [...] 
>
  Running setup.py develop for leo
>     Complete output from command /usr/bin/python3 -c "import setuptools, 
> tokenize;__file__='/home/nbecker/leo-editor/setup.py';f=getattr(tokenize, 
> 'open', open)(__file__);code=f.read().replace('\r\n', 
> '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps 
> --user --prefix=: 
> [...] 
>
    error: option --user not recognized
>

Interesting. I get the same error on Windows. 

[Later] It seems the `--user` and `--editable` options are incompatible 
(`pip3 install --editable .` works). Looks like a bug in pip. I didn't find 
anything in their tracker, though a comment in #4296 
<https://github.com/pypa/pip/issues/4296> might indicate why, *"...`--user` 
with `--editable` is something almost no one does as most people install 
editable packages in virtualenvs I guess.".*

Curious that when I copy paste the specific command listed in the error it 
does work:

> python -c "import setuptools, 
tokenize;__file__='c:/users/mattw/code/leo-editor/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps 
--user --prefix=:

Removing build, dist and egg directories
Creating entry_points for [OS name - system]: nt - Windows
[...]
Installing leo-script.pyw script to 
C:\Users\mattw\AppData\Roaming\Python/Python36/Scripts
Installing leo.exe script to 
C:\Users\mattw\AppData\Roaming\Python/Python36/Scripts

Installed c:\users\mattw\code\leo-editor

Matt

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to