I am trying to install Leo on my 32bit Intel machine running Debian
Stretch, with Python 2.7.13 installed. I downloaded the latest sources
using git clone. Then I tried to install Leo typring
cd ~/leo-5.5 sudo python setup.py install
and got the error message "cd: Too many arguments". Then, I inserted a
strategic newline within the proposed code above, and got the error message
"python: can't open file 'setup.py': [Errno 2] No such file or directory".
There seems to be more than one way to run Leo, so I tried running
python launchLeo.py
on which Python displayed the following messages:
setting leoID from os.getenv('USER'): 'hannes'
reading settings in /home/hannes/trash/leo-5.5/leo-editor-master/leo/config/
leoSettings.leo
reading settings in /home/hannes/myLeoSettings.leo
Traceback (most recent call last):
File "launchLeo.py", line 8, in <module>
leo.core.runLeo.run()
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/runLeo.py",
line 71, in run
g.app.loadManager.load(fileName, pymacs)
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/leoApp.py",
line 2105, in load
lm.doPrePluginsInit(fileName, pymacs)
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/leoApp.py",
line 2172, in doPrePluginsInit
lm.createGui(pymacs)
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/leoApp.py",
line 2343, in createGui
lm.createSpecialGui(gui_option, pymacs, script, windowFlag)
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/leoApp.py",
line 2358, in createSpecialGui
g.app.createDefaultGui()
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/leoApp.py",
line 1046, in createDefaultGui
app.createQtGui(fileName, verbose=verbose)
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/core/leoApp.py",
line 1068, in createQtGui
import leo.plugins.qt_gui as qt_gui
File "/home/hannes/trash/leo-5.5/leo-editor-master/leo/plugins/qt_gui.py",
line 12, in <module>
import leo.plugins.qt_events as qt_events
File
"/home/hannes/trash/leo-5.5/leo-editor-master/leo/plugins/qt_events.py",
line 46, in <module>
class LeoQtEventFilter(QtCore.QObject):
AttributeError: 'NoneType' object has no attribute 'QObject'
Would it be better to install from the packages provided by Ville Vaino?
--
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.