I though it might be useful to pull together the steps to create on Linux a new virtual environment (venv) and install Leo's dependencies into it. I created a new venv in the ~/venv*/leo* directory for this purpose:
tom@thomas-xubuntu-VirtualBox:~/venv$ mkdir leo tom@thomas-xubuntu-VirtualBox:~/venv$ python3 -m venv leo tom@thomas-xubuntu-VirtualBox:~/venv$ source ./leo/bin/activate (leo) tom@thomas-xubuntu-VirtualBox:~/venv$ python3 -m pip install -r ~/git/leo-editor/requirements.txt tom@thomas-xubuntu-VirtualBox:~/venv$ On Tuesday, May 14, 2024 at 2:40:34 PM UTC-4 Thomas Passin wrote: > In case I didn't make it clear, I think a script like the one I showed > above is an excellent way to launch the copy of Leo that is in your cloned > repo. That's because it works from anywhere and you don't need to remember > any special locations or cd to them If you are in an activated venv, it > works and will use the venv version of the dependencies. If you are not in > a venv, it will use the system Leo installation and dependencies, if you've > installed them there (I have - in the user site-packages directory, of > course, not the system's). > > On Tuesday, May 14, 2024 at 2:09:14 PM UTC-4 Thomas Passin wrote: > > On Tuesday, May 14, 2024 at 2:05:10 PM UTC-4 Thomas Passin wrote: > > The script to launch Leo is in the *Scripts* directory. > > > Of course, in Linux this will be the *bin* directory instead. > > -- 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/75b0ff52-099a-4de5-8c19-f2809a67c8a1n%40googlegroups.com.
