Hello Matt,

This is a first response from my side, in order to provide you an
**initial** feedback!

In other words, I might change my mind, if I wake up tomorrow morning - and
- will review this thread / topic again ;-)

Am Sa., 25. Apr. 2020 um 20:16 Uhr schrieb Matt Wilkie <[email protected]>:

>
>>
>> *can not open
>> /home/user/PyVE/PyPI/Leo-stable/lib64/python3.7/site-packages/setup.pynot
>> found:
>> /home/user/PyVE/PyPI/Leo-stable/lib64/python3.7/site-packages/leo_to_html.xsl*
>>
> [...]
>
> *Pypi installed Leo *doesn't have the files which are in the root
> directory of the source code repository. -- setup.py, Readme.md, etc. This
> is something we can't do anything about (without changing the whole code
> base). However these files in the root are required to run and use Leo.
>
>    - https://leoeditor.com/installing.html#installing-leo-with-pip
>
> *Source code installed Leo *has everything, at the cost of a few more
> command lines to write and execute:
>
>    -
>    
> https://leoeditor.com/installing.html#installing-leo-from-sources-all-platforms
>    or
>    - https://leoeditor.com/installing.html#installing-leo-with-git
>
> I suspect the reason you got the messages is because your previous session
> of Leo had those files open and it tried to re-open them in the new
> version. Leo is looking in "site-packages" because the path to those files
> in the session db is relative to Leo's home library path. The new Leo
> library path is in PYTHONHOME/site-packages and the old library path was
> somewhere else, perhaps *~/PyVE/Src/Leo-devel/leo-editor-devel/.*
>
> As for is it safe to switch back and forth between Leo versions?  I think
> it's safe-ish but not fool proof. If the things you are working on don't
> have anything to do with Leo, ie. you're not hacking on Leo's sources, you
> should be fine. (With caveats if you make use of features that may or not
> be present in the other version).
>
> To make it safer use a different ~/.leo for each one by changing HOME
> environment variable before starting Leo.
>

*This is counter intuitive to my understanding of why Python has introduced
PyVE's!*

At the moment my gut feeling is that Leo should change here ...

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/CAAeSrGJ65HFt13meq4LsWf%2BF7OHZ%3D6N5m%2BoYftC9EN72t2g7ug%40mail.gmail.com.

Reply via email to