-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garito wrote: > Sorry! This appear in the event.log: > > 2007-09-23T18:13:33 ERROR Zope Couldn't install ZopeProfiler > Traceback (most recent call last): > File "/usr/lib/zope2.9/lib/python/OFS/Application.py", line 755, in > install_product > global_dict, global_dict, silly) > File "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/__init__.py", > line 2, in ? > from ZopeProfiler import _hookZServerPublisher, _initializeModule, \ > File > "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/ZopeProfiler.py", > line 66, in ? > from DMprofile import Stats > File > "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/__init__.py", > line 9, in ? > from DMstats import Stats > File > "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/DMstats.py", > line 13, in ? > from pstats import Stats as pStats > ImportError: No module named pstats > > How can I install pstats?
Seems like you are running with a distro-packaged version of Python, which strips out the development packages / tools. Either build your own Python for running Zope from source (you will avoid future pain when your sysadmin upgrades Python without telling you), or get the sysadmin to add the 'python-dev' or 'python-devel' package. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG9+GE+gerLs4ltQ4RAvCfAKDXrHMP5K2usQl/Z6SNj556tEenUwCg0V12 yKJ0/P57A6xjneTbWDCpRPA= =vjMW -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )