You also could try getting the modules (of suitable versions) you need from their homepage, possibly github, and then use the setup.py to install your packages. pypi usually has a link to a project's homepage.
On Wed, Feb 24, 2021 at 6:08 AM Dan Stromberg <drsali...@gmail.com> wrote: > > I don't think pip supports 2.x anymore. > > You might be able to: > 1) Look up what versions of your desired modules support Python 2.x on > pypi's website > 2) Install them on another system that has Python 3.x using pip > 3) Copy them to the moribund system > 4) Test > > > On Wed, Feb 24, 2021 at 5:15 AM Antoon Pardon <antoon.par...@vub.be> > wrote: > >> I need to do some development on this legacy system. It only runs >> python2.6 and there is little hope of installing an other version. How >> can I best proceed to install modules for working with mysql and ldap? >> >> -- >> Antoon. >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > -- https://mail.python.org/mailman/listinfo/python-list