Edgewall Software

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9917 closed defect (cantfix)

Trac won't install on CentOS

Reported by: hm2k Owned by:
Priority: highest Milestone:
Component: general Version:
Severity: major Keywords: centos
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


I've been trying for a long time now to install Trac on CentOS and I'm now convinced that it just won't install.

First I tried it on CentOS 4 which failed to install and resulted in this bug report: http://trac.edgewall.org/ticket/9595

I finally upgraded the system from CentOS 4 to CentOS 5 which was for the soul purpose of installing Trac and caused a three headed monster of it's own, which has since been resolved.

Now I'm on CentOS 5 I've decided to go ahead and try to install Trac again, here's what's happening:

[root@vps112 /]# easy_install Trac==0.12
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 5, in ?
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

I've tried reporting this to the mailing list, but as I didn't receive a response within the first 10 hours, I can only assume that this is not a simple issue.

I've been fairly persistent over this, but now I'm convinced that Trac simply won't install on CentOS and I have nothing else to try.

What do you suggest? Is it time to just give up?

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 11 years ago

Resolution: cantfix
Status: newclosed

This is an InstallationIssue, so the MailingList was the right place to ask your question.

The traceback you show is not generated by Trac, but by easy_install, which is part of setuptools. You should start by making sure setuptools is installed correctly.

comment:2 by hm2k, 11 years ago

I've slept on it, and here's what I discovered today:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install trac

From: http://trac.edgewall.org/wiki/TracOnRhel5

I hope someone else finds this useful.

Oh also, advice from Trac on installing setuptools correctly is here: http://trac.edgewall.org/wiki/setuptools

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.