On Mon, Mar 27, 2017 at 10:06 AM, Largo84 <[email protected]> wrote:

> I am trying to set up Leo for a colleague on his Windows PC and see that
> it's much more difficult than I recall, especially for non-programmers.
> Apparently, PyQt no longer provides Windows binary installation
> executables. Not really knowing what else to try, I opened the Python
> command shell and typed `pip3 install PyQt5` and got a syntax error.
>

​PyQt5 seems to be a moving target.  It's possible to screw up a previously
working Qt5 installation, as I demonstrated several times today.

My suggestion is to start with a Python 3 version of Anaconda.  I also
recommend installing 32-bit versions, even on 64-bit systems.  That way you
can install ​

​pyenchant.

I have been successful in installing 4.1.1 on both Python 2 and 3. The
installers are:

- Anaconda2-4.1.1-Windows-x86.exe and​
- Anaconda3-4.1.1-Windows-x86.exe

According to my notes, Anaconda 4.2 was buggy: it does not handle
QTreeWidget properly.  This was several months ago.  Perhaps things are
better now.

Once you get Anaconda installed and working, you should be able to use
conda install. If you have multiple Anaconda installations, you will need
to use the proper conda script, in either Anaconda2/scripts or
Anaconda3/scripts.

>
> Sorry if the answer is obvious or easy, but for me it's neither. Any help
> or suggestions appreciated.
>

​Clearly, installing both python and pyqt (and especially pyqt5) is made
more difficult by qt bugs. But in the long run, I think using Anaconda is
the best bet.

Having said that, Lewis's suggestions might be enough.

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 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