Leo 6.0-final installing and running with python 3.8

32 views
Skip to first unread message

Quaraman

unread,
Oct 17, 2019, 2:11:46 AM10/17/19
to leo-e...@googlegroups.com
Hi @all,

I installed and run Leo 6.0-final in Python 3.8 with following changes:

file: Python38\Lib\site-packages\leo\core\leoApp.py:

line 2392 : t1 = time.process_time()

rewrited method createCursesGui to:

def createCursesGui(self, fileName='', verbose=False):
self.createQtGui()

I tried to use following wheel:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses curses‑2.2.1+utf8‑cp38‑cp38‑win_amd64.whl

But then I get an error that some widgets to large. Because of this I

file: Python38\Lib\site-packages\leo\core\leoColorizer.py :

line 2164 : t1 = time.process_time()

line 2188: self.tot_time += time.process_time() - t1

My System data:
Leo 6.0-final
Python 3.8.0, PyQt version 5.13.1
Windows 10 AMD64 (build 10.0.18362) SP0

Hope that helps someone....

Edward K. Ream

unread,
Oct 17, 2019, 6:51:30 AM10/17/19
to leo-editor
On Thu, Oct 17, 2019 at 1:11 AM Quaraman <xanato...@gmail.com> wrote:

I installed and run Leo 6.0-final in Python 3.8 with following changes:
[snip]

Thanks for this workaround.  An easier one is to install Leo using git.  That way you get the latest code.

Edward
Reply all
Reply to author
Forward
0 new messages