[SimpleParse] Re: Post-installation problem when using pydoc with simpleparse
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2003-07-22 04:39:57
|
It appears to work fine here (w/ Python 2.2.3 on Win2K). Can you import parser in a regular Python session? Does help( parser ) produce this error? site-packages is normally already in your path, and the fact that parser is getting found suggests that you've got simpleparse showing up as available already. I'm assuming you're using the web-server interface, BTW. Afraid I don't have much more advice. It does sound like a site configuration problem, I just can't see what it would be from what you've described. Good luck, Mike Martin d'Anjou wrote: >Hi, > >I am getting the following post-installation problem: > >problem in /usr/lib/python2.2/site-packages/simpleparse/parser.pyc - ImportError: cannot import name baseparser > >I can type "from simpleparse import baseparser" without problems. > >I can view the pydoc for baseparser without any problems... Is this a >problem with my local installation? Does my PYTHONPATH have to point to >site-packages? > >Thanks, >Martin > > |