Hi,

I just upgraded to python 2.5 from 2.4 (by upgrading Ubuntu to Hardy). Now
the problem is that Trac is intsalled in Python 2.4 like:
/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/

I set the PythonPath like:
PythonPath "sys.path +
['/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/']"

But this is not enough. I get all kinds of other errors like:
File
"/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/__init__.py",
line 14, in <module>\n    __version__ =
__import__('pkg_resources').get_distribution('Trac').version
[Tue Jul 28 12:07:15 2009] [error] [client 127.0.0.1] ImportError: No module
named pkg_resources

So how can i fix this. Do I need to reinstall Trac to get it into Python
2.5? And in that case, can i still use my old Trac project environment
configured in apache httpd.conf?

Thanks,
Mattias
-- 
View this message in context: 
http://www.nabble.com/Upgrade-of-Python-breaks-Trac-tp24696688p24696688.html
Sent from the Trac Users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to