[Erp5-dev] Problmes with starting Zope on debian/unstable and ubuntu/dapper
Ivan Tyagov
ivan at nexedi.com
Tue Feb 20 15:33:06 CET 2007
Hi,
> running such line on this system from python prompt is successful:
>
> shufla at sid:~$ python
> Python 2.4.4 (#2, Jan 13 2007, 17:50:26)
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from xml.sax.writer import PrettyPrinter, XmlWriter
> >>>
>
> What could be a problem? It is last problem with running erp5 on
> debian/ubuntu. (I've patched system to not to import that line and
> system was running well, even on 64bit system).
If you're running the same python versions maybe it's worth to check the
path in which python modules are searched for possible differences.
For different users this path can be altered through environmental
variable 'PYTHONPATH'.
I had some time ago similar problem.
Like so:
[ivan at localhost bootstrap]$ python
Python 2.4.3 (#2, Sep 18 2006, 21:07:35)
[GCC 4.1.1 20060724 (prerelease) (4.1.1-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk',
'/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages/Numeric',
'/usr/lib/python2.4/site-packages/PIL',
'/usr/lib/python2.4/site-packages/gtk-2.0']
Ivan
More information about the Erp5-dev
mailing list