Re: can't install new modules after updating python
On Apr 18, 9:00 am, a...@pythoncraft.com (Aahz) wrote: > In article > , > > Generally speaking, you should never directly update the system Python; > most Linux systems these days rely on Python for their operation. > Instead, you install an additional copy of Python, and you cannot use > your OS package management to install modules; just install the modules > manually. Agreed. I tend to keep my own Python installation in ~/opt, and then use the usual `python setup.py install` to install modules. You just need to make sure you have $HOME/opt/py/bin in your $PATH before the system python (or else explicitly specify `~/opt/py/bin/python setup.py install` when you install modules). If your *system* Python needs modules, you install those with your OS package management utility. -- http://mail.python.org/mailman/listinfo/python-list
Re: can't install new modules after updating python
In article , lie wrote: > >I've updated from python 2.5 to 2.6 on my Slackware 12.2, by compiling >the 2.6 source. When I try to use slapt-get to install a new module >for python, it installs in the old version, and I can't use it. How >can I fix this? Should I go back to 2.5? Generally speaking, you should never directly update the system Python; most Linux systems these days rely on Python for their operation. Instead, you install an additional copy of Python, and you cannot use your OS package management to install modules; just install the modules manually. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list
can't install new modules after updating python
I've updated from python 2.5 to 2.6 on my Slackware 12.2, by compiling the 2.6 source. When I try to use slapt-get to install a new module for python, it installs in the old version, and I can't use it. How can I fix this? Should I go back to 2.5? -- http://mail.python.org/mailman/listinfo/python-list