*Installing Leo* 

First you will need to install python. Python3 is recommended but you can 
install Python 2.7 if you prefer. Download from www.python.org
*Quick and easy* 

Recommended for most users. If you are a developer, you may prefer other 
'Options for installing Leo'
*Install Leo using pip* 

Installing Leo using *pip* will take care of the dependencies & install 
them automatically. Pip is included with python3. 

Open a terminal window and cd to where you have python 3.x installed. 
Change to your home directory ~home\<path-to-python>\Python3

> C:\~\AppData\Local\Programs\Python36>



Optional - verify you have pip installed

> pip --version 

you should see 'pip 9.0.1' from your <path-to-python>



Now enter 

> pip3 install leo

Pip will proceed to download and install Leo and it's required packages. 
*Running Leo* 

Time to start Leo. In a Console or Terminal window (cmd.exe), cd to the Leo 
directory.

> C:\~\AppData\Local\Programs\Python\Python36\site-packages\leo-editor

or

> C:\Users\~home\AppData\Local\Programs\Python\Python36
\site-packages\leo-editor


start Leo by typing

> launchleo.py


Running Leo (http://leoeditor.com/running.html) has further options.


*Options for installing Leo.* 

Recommended for coders, developers, users with specific needs, or those who 
prefer to use the latest development version of Leo.
*Dependencies* 

Leo requires PyQt for GUI functions and widgets. PyQt5 is recommended. The 
following packages are optional, but recommended:

   - 
   
   Docutils <http://docutils.sourceforge.net/>: required for the rst3 
   command and the viewrendered plugins.
   - 
   
   Sphinx <http://www.sphinx-doc.org/en/stable/>: required to regenerate 
   Leo’s documentation.
   - 
   
   PyEnchant <http://pythonhosted.org/pyenchant/download.html>: required 
   for spell checking with Leo’s Spell tab.
   


*Installing Packages* 

If you have python installed, pip can install any required package, 
including PyQt. 

In a Console or Terminal window (cmd.exe), enter

> pip3 install PyQt5


PyQt5 reference guide:

   - 
   
   PyQt5 installation 
   http://pyqt.sourceforge.net/Docs/PyQt5/installation.html
   
Note - PyQt4 Binary installers for Windows are no longer provided. The Qt 
Company no longer supports Qt v4

   - 
   
   Download PyQt4 from 
   http://www.riverbankcomputing.com/software/pyqt/download
   


*Important*: The PyQt version must match your installed Python version. 
Remember that Leo requires Python 2.6 or later, or Python 3.0 or later.

*PyEnchant*: Install PyEnchant 
<http://pythonhosted.org/pyenchant/download.html> if you need spell 
checking. There is an executable installer for Windows users.


*Installing Leo with Git* 

*Recommended for **users who want to track the development version of Leo, 
in order to stay on top of the latest features and bug fixes.* Running the 
development version is quite safe and easy, and it’s also a requirement if 
you want to contribute to Leo. Git also works alongside *pip* the python 
package manager.

   1. 
   
   First, you need to get git from http://git-scm.com/. Install and
   2. 
   
   Get Leo from GitHub by doing:
   
   git clone https://github.com/leo-editor/leo-editor (http access)
   
   or:
   
   git clone git*@github*.com:leo-editor/leo-editor.git (ssh access)
   
   
And that’s it! You can run leo/core/leo.py directly. When you want to 
refresh the code with latest modifications from GitHub, run git pull.


*Miniconda*

*Not **recommended since t**here is no direct install path as **> **conda 
install leo **currently **doesn't work. **You still need to install Leo. 
**Using 
**pip** achieves the same result **for **leo and **all required packages**.*

*Miniconda:** https://conda.io/miniconda.html 
<https://conda.io/miniconda.html>*

*[end]*

>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
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