Opened 2 years ago

Last modified 16 months ago

#10708 assigned defect

DistributionNotFound: Python>=2.4

Reported by: anonymous Owned by: walnut
Priority: normal Component: ChildTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by rjollos)


i cannot run the TracChildTickets 2.5.2 plugin. In the Trac logs i can see:

Skipping "Tracchildtickets 2.5.2": ("DistributionNotFound: Python>=2.4" not found)

what could this be?

Attachments (0)

Change History (7)

comment:1 in reply to: ↑ description Changed 2 years ago by anonymous

Replying to anonymous:

i am using Trac 0.12.4, Python 2.5.4 and build the plugin from the 0.12 branch (Tracchildtickets-2.5.2-py2.5)

comment:2 Changed 2 years ago by walnut

  • Status changed from new to assigned


What version of setuptools do you have installed?

Take a look at #7017 and #9589.

Regards Mark

comment:3 Changed 2 years ago by rjollos

Putting an install_requires for Python causes problems, as noted in other tickets. Just delete the line from and it should install fine.

comment:4 Changed 2 years ago by rjollos

  • Description modified (diff)

comment:5 Changed 16 months ago by anonymous

Installed c:\python25\lib\site-packages\tracchildtickets-2.5.2-py2.5.egg
Processing dependencies for tracchildtickets==2.5.2
Searching for Python>=2.4
Best match: Python 3.3.3
Processing Python-3.3.3.tgz
Last edited 16 months ago by rjollos (previous) (diff)

comment:6 Changed 16 months ago by anonymous

Best match is not Python 3.3, but Python 2.5

comment:7 Changed 16 months ago by rjollos

That demonstrates the problem with including Python as a dependency in install_requires. Would you really want the installation of a plugin to result in the download and installation of Python?

A different approach is to check whether the Python interpreter that you are executing from meets a requirement, and if not then issue an error. [13472] is an example of that approach.

Add Comment

Modify Ticket

as assigned The owner will remain walnut.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.