I've lost patience with Anaconda3. This thread documents a clean install of 
*python 
*on Windows. I continue to use Leo's git code.

Imo, virtual environments are a pain in the butt. I've got enough trouble 
remembering what git branch I am on. Having multiple forks/envs is too much 
for my brain.

Happily, installing python is really simple w/o Anaconda:

*Download*

Python's download page <https://www.python.org/downloads/> does not seem to 
have an executable installer for Python 3.6.x! Clicking 3.6 takes you here 
<https://www.python.org/downloads/release/python-3610/>. There are security 
problems with 3.6.8, so we really want 3.6.10, but the page only shows two 
zipped tarballs. So while Leo is supposed to run on python 3.6, it looks 
like we may as well move to 3.7.6.

*Install*

I installed Python 3.7.6 to ~/python/python37, because I dislike installing 
anything to "program files". (The space in the name causes problems.) I 
checked the "Add python to the path" checkbox. I installed everything 
except the python test files.

Attempting to run leo *correctly* raises a Tk dialog saying that Qt can not 
be imported.

I upgraded to the latest version of pip, then did `pip install PyQt5`. Now 
Leo ran.

*Summary*

I uninstalled Anaconda3. No more confusing envs. Bye bye activation woes.

In the worst case I would would have to reinstall python and all libs. That 
would be better than the endless confusion of multiple envs.

It's easy to install python using an executable installer and `pip install 
PyQt5`.

Leo is supposed to run on python 3.6, but python 3.7 looks like the 
practical minimum for new python installations.

I'll now experiment with installing the prerequisites for jupyter, 
holoviews etc. This should be straightforward with pip.

Edward

-- 
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/856fbc79-74db-4653-8d96-978971d4aee0%40googlegroups.com.

Reply via email to