I am getting something very similar.  I get:

Traceback (most recent call last):
  File "<string>", line 166, in <module>
  File "<string>", line 34, in install
AssertionError: No python installation found!
*** run_installscript: internal error 0xFFFFFFFF ***

So then I run Leo from the command prompt.  I run python25
launchleo.py and it comes up.  It works on some simple files.  But on
what is perhaps my most important file it fails on entry and logs
this:


reading: C:\kcc\docs\leo\Projects\onbase1.leo
error parsing C:\kcc\docs\leo\Projects\onbase1.leo
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\Leo-4-5-1-2-final\leo\core
\leoFileCommands.py", line 1266, in parse_leo_file
    parser.parse(theFile) # expat does not support parseString
  File "c:\Python25\lib\xml\sax\expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "c:\Python25\lib\xml\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "c:\Python25\lib\xml\sax\expatreader.py", line 211, in feed
    self._err_handler.fatalError(exc)
  File "c:\Python25\lib\xml\sax\handler.py", line 38, in fatalError
    raise exception
SAXParseException: <unknown>:4765:0: not well-formed (invalid token)


I haven't been able to use this file for a couple of weeks now.  As a
temporary measure I'm using a stripped down copy of the file with
vim.  But that's a real pain.  I'm stuck.

--KC







On Oct 15, 7:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I installed Python 2.6 on my WinXP SP3 then installed LEO 4.5.1 but
> there was an error message at the end of the install saying that it
> couldn't start Python.
> I started a CMD window and tried to finish the install manually but
> got an error message:
>
> C:\Python26\Lib\site-packages\Leo-4-5-1-2-final>C:\Python26\python.exe
> setup.py
> Traceback (most recent call last):
>   File "setup.py", line 2, in <module>
>     from setuptools import setup,find_packages
> ImportError: No module named setuptools
>
> Any idea how to resolve this?
> Thanks
> Mark Brown

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to