Re: python 2.6: Need some advise for installing modules on a legacy system

2021-02-26 Thread Thomas Jollans
On 24/02/2021 14:13, Antoon Pardon 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? > The answer very much depends on the oper

Re: python 2.6: Need some advise for installing modules on a legacy system

2021-02-24 Thread Dan Stromberg
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 wrote: > > I don't think pip supports 2

Re: python 2.6: Need some advise for installing modules on a legacy system

2021-02-24 Thread Dan Stromberg
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 P

python 2.6: Need some advise for installing modules on a legacy system

2021-02-24 Thread Antoon Pardon
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

Re: installing modules problem

2018-11-08 Thread Siva Sukumar Reddy
Also make sure that the Pythonpath contains the folder where the modules are installed in your machine. - site packages folder. On Thu 8 Nov, 2018, 16:28 Thomas Jollans On 2018-11-08 06:04, Ian K. wrote: > > Hello, > > > > My name is Ian Kilty and I have been having trouble with pip. I have pip >

Re: installing modules problem

2018-11-08 Thread Thomas Jollans
On 2018-11-08 06:04, Ian K. wrote: > Hello, > > My name is Ian Kilty and I have been having trouble with pip. I have pip > installed, and I have tried to install modules they say they are installed > in cmd, but when I go into python and import the module, it can't find it. > I hope there is a sim

installing modules problem

2018-11-08 Thread Ian K.
Hello, My name is Ian Kilty and I have been having trouble with pip. I have pip installed, and I have tried to install modules they say they are installed in cmd, but when I go into python and import the module, it can't find it. I hope there is a simple solution to this problem, please let me kno

Installing modules on different versions of python??

2014-06-04 Thread Nzyme11
Running SLES 12.3 and trying to install zlib for python2.7.7. I need zlib to install setup-tools to instal virtualenv. It's driving me crazy. Is there some basics to follow when installing modules from source to specific versions of python?? Everything wants to install the pyth

Re: installing modules in Enthought Python

2012-05-30 Thread Chuck
On May 30, 10:57 am, David Fanning wrote: > Chuck writes: > > > I just downloaded Enthought Python, free version.  I wanted all the > > included packages, but I can't seem to find the correct directory to > > install new Python modules.  Does anybody have an idea?  I am trying > > to add Universal

Re: installing modules in Enthought Python

2012-05-30 Thread Robert Kern
On 5/30/12 4:05 PM, Chuck wrote: I just downloaded Enthought Python, free version. I wanted all the included packages, but I can't seem to find the correct directory to install new Python modules. Does anybody have an idea? I am trying to add Universal Feed Parser to Enthought. I have tried C

Re: installing modules in Enthought Python

2012-05-30 Thread Terry Reedy
On 5/30/2012 11:05 AM, Chuck wrote: I just downloaded Enthought Python, free version. I wanted all the included packages, but I can't seem to find the correct directory to install new Python modules. Does anybody have an idea? I am trying to add Universal Feed Parser to Enthought. I have trie

Re: installing modules in Enthought Python

2012-05-30 Thread David Fanning
Chuck writes: > > I just downloaded Enthought Python, free version. I wanted all the > included packages, but I can't seem to find the correct directory to > install new Python modules. Does anybody have an idea? I am trying > to add Universal Feed Parser to Enthought. I have tried C:\Python

installing modules in Enthought Python

2012-05-30 Thread Chuck
I just downloaded Enthought Python, free version. I wanted all the included packages, but I can't seem to find the correct directory to install new Python modules. Does anybody have an idea? I am trying to add Universal Feed Parser to Enthought. I have tried C:\Python27, C:\Python27\Lib, C:\Pyt

Re: Installing modules via setuptools in a script

2007-11-26 Thread Robert Kern
Thorsten Kampe wrote: > * Robert Kern (Mon, 26 Nov 2007 04:34:17 -0600) >> Thorsten Kampe wrote: >>> * Robert Kern (Sat, 24 Nov 2007 16:33:37 -0600) Thorsten Kampe wrote: > can anyone give me a short code snippet how to install a missing > module via setuptools (assuming setuptools is

Re: Installing modules via setuptools in a script

2007-11-26 Thread Thorsten Kampe
* Robert Kern (Mon, 26 Nov 2007 04:34:17 -0600) > Thorsten Kampe wrote: > > * Robert Kern (Sat, 24 Nov 2007 16:33:37 -0600) > >> Thorsten Kampe wrote: > >>> can anyone give me a short code snippet how to install a missing > >>> module via setuptools (assuming setuptools is already installed)?! > >

Re: Installing modules via setuptools in a script

2007-11-26 Thread Robert Kern
Thorsten Kampe wrote: > * Robert Kern (Sat, 24 Nov 2007 16:33:37 -0600) >> Thorsten Kampe wrote: >>> can anyone give me a short code snippet how to install a missing >>> module via setuptools (assuming setuptools is already installed)?! >>> >>> Something like this: >>> >>> try: >>> import miss

Re: Installing modules via setuptools in a script

2007-11-26 Thread Thorsten Kampe
* Ben Finney (Mon, 26 Nov 2007 09:04:51 +1100) > Thorsten Kampe <[EMAIL PROTECTED]> writes: > > * Robert Kern (Sat, 24 Nov 2007 16:33:37 -0600) > > > Thorsten Kampe wrote: > > > > can anyone give me a short code snippet how to install a missing > > > > module via setuptools (assuming setuptools is

Re: Installing modules via setuptools in a script

2007-11-25 Thread Ben Finney
Thorsten Kampe <[EMAIL PROTECTED]> writes: > * Robert Kern (Sat, 24 Nov 2007 16:33:37 -0600) > > Thorsten Kampe wrote: > > > can anyone give me a short code snippet how to install a missing > > > module via setuptools (assuming setuptools is already > > > installed)?! > > > > The recommended way

Re: Installing modules via setuptools in a script

2007-11-25 Thread Thorsten Kampe
* Robert Kern (Sat, 24 Nov 2007 16:33:37 -0600) > Thorsten Kampe wrote: > > can anyone give me a short code snippet how to install a missing > > module via setuptools (assuming setuptools is already installed)?! > > > > Something like this: > > > > try: > > import missing_module > > except i

Re: Installing modules via setuptools in a script

2007-11-24 Thread Robert Kern
Thorsten Kampe wrote: > Hi, > > can anyone give me a short code snippet how to install a missing > module via setuptools (assuming setuptools is already installed)?! > > Something like this: > > try: > import missing_module > except import_error > import setuptools > setuptools.wha

Installing modules via setuptools in a script

2007-11-24 Thread Thorsten Kampe
Date: Fri, 23 Nov 2007 19:35:21 - Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 Hi, can anyone give me a short code snippet how to install a missing module via setuptools (

Re: installing modules

2006-11-18 Thread Fredrik Lundh
kilnhead wrote: > I am sure this has been asked a gazillion times, but here it is again. > When installing something like pyRTF, I extract the zip file to a > folder called pyRTFtemp, and then run "setup.py install" in that > folder. After that, can I get rid of the pyRTFtemp folder in general,

installing modules

2006-11-18 Thread kilnhead
I am sure this has been asked a gazillion times, but here it is again. When installing something like pyRTF, I extract the zip file to a folder called pyRTFtemp, and then run "setup.py install" in that folder. After that, can I get rid of the pyRTFtemp folder, or do I need to keep it? This questio