Re: [GENERAL] Trouble installing psycopg2

2013-09-29 Thread Adrian Klaver
On 09/29/2013 11:06 AM, Augori wrote: Hmm maybe you're right. I just tried starting over again from a directory under joshmoe, following the tutorial again, but I get permssions errors at every turn. # wgethttp://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 # tar xf Python-2.7.3.tar.bz2 # c

Re: [GENERAL] Trouble installing psycopg2

2013-09-29 Thread Augori
Hmm maybe you're right. I just tried starting over again from a directory under joshmoe, following the tutorial again, but I get permssions errors at every turn. # wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 # tar xf Python-2.7.3.tar.bz2 # cd Python-2.7.3 # ./configure --prefix=/

Re: [GENERAL] Trouble installing psycopg2

2013-09-29 Thread Augori
No, sorry. I just checked that again and I can yum. I guess I remembered that incorrectly. But the thing is, I'm worried that I have all this stuff set up and working --postgresql, virtualenv, psycopg2 in root; then if I try another install under joshmoe it could cause even more more chaos. On

Re: [GENERAL] Trouble installing psycopg2

2013-09-29 Thread Augori
You're right, I installed the virtualenv as user root into /root. The reason for this is that I can't run 'yum' and probably many of the other commands from joshmoe, so I gave up on that route. But I'm open for suggestions...do you think it would be better to try to get access to these commands?

Re: [GENERAL] Trouble installing psycopg2

2013-09-29 Thread Adrian Klaver
On 09/29/2013 09:38 AM, Augori wrote: Thanks to Adrian for pointing to this site. http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/ I was able to get the virtual environment set up and install psycopg2 from there. Now things seem to be working well when I'm logged in

Re: [GENERAL] Trouble installing psycopg2

2013-09-29 Thread Augori
Thanks to Adrian for pointing to this site. http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/ I was able to get the virtual environment set up and install psycopg2 from there. Now things seem to be working well when I'm logged in as root. But I need to be able to use th

Re: [GENERAL] Trouble installing psycopg2

2013-09-27 Thread Adrian Klaver
On 09/27/2013 04:45 AM, Augori wrote: Do you have other ideas? Re: my previous post. I was assuming you are not using Python 2.7 for anything important at this point. That might be an erroneous assumption, in which case truly cleaning house might not be the way to go. -- Adrian Klaver a

Re: [GENERAL] Trouble installing psycopg2

2013-09-27 Thread Adrian Klaver
On 09/27/2013 04:45 AM, Augori wrote: *Thanks again for the suggestions. It doesn't look to me like it's installed in /usr/local/lib/python2.7/site-packages. There's an egg directory there, but otherwise, no psycopg2. The egg directory doesn't mean it's installed, does it?? Here's an ls of tha

Re: [GENERAL] Trouble installing psycopg2

2013-09-27 Thread Augori
*Thanks again for the suggestions. It doesn't look to me like it's installed in /usr/local/lib/python2.7/site-packages. There's an egg directory there, but otherwise, no psycopg2. The egg directory doesn't mean it's installed, does it?? Here's an ls of that site-packages dir:* root@server [/usr

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Adrian Klaver
On 09/26/2013 07:07 PM, Augori wrote: I think Python 2.4 was installed with the OS. I installed Python 2.7 from an .egg file that I downloaded. I'm a bit new to this terminology, so not sure if that considered Centos package management. No. I think you're right about Python2.4 being set a

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread John R Pierce
On 9/26/2013 7:07 PM, Augori wrote: I think you're right about Python2.4 being set as the default. Does anyone know how to persuade it otherwise for installation purposes? path. absolutely do NOT replace the OS distribution python unless you want to break lots of stuff (for instance, yum o

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Augori
I think Python 2.4 was installed with the OS. I installed Python 2.7 from an .egg file that I downloaded. I'm a bit new to this terminology, so not sure if that considered Centos package management. I think you're right about Python2.4 being set as the default. Does anyone know how to persuade

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Adrian Klaver
On 09/26/2013 02:14 PM, Augori wrote: Okay, I'm sorry for the questions. But I'm really confused about where things are being installed. I know that yum installed it under 2.4 site-packages because I checked for it inside there before and after I ran the yum command. There is an easy_install.p

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Augori
Okay, I'm sorry for the questions. But I'm really confused about where things are being installed. I know that yum installed it under 2.4 site-packages because I checked for it inside there before and after I ran the yum command. There is an easy_install.pth file under /usr/local/lib/python2.7/s

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Adrian Klaver
On 09/26/2013 11:56 AM, Augori wrote: Thanks, for the replies Chris and David. Chris, I couldn't find any psycopg files under my Python installs, so I decided to try David's advice and yum install python-psycopg2 It reported success, but it installed it under ../usr/lib64/python2.4/site-packages

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread David Kerr
On Thu, Sep 26, 2013 at 02:56:14PM -0400, Augori wrote: - Thanks, for the replies Chris and David. - - Chris, I couldn't find any psycopg files under my Python installs, so I - decided to try David's advice and yum install python-psycopg2 - It reported success, but it installed it under - ../usr/l

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Augori
Thanks, for the replies Chris and David. Chris, I couldn't find any psycopg files under my Python installs, so I decided to try David's advice and yum install python-psycopg2 It reported success, but it installed it under ../usr/lib64/python2.4/site-packages I'm working with Python2.7.5, so psyco

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread Chris Curvey
On Thu, Sep 26, 2013 at 1:01 PM, Laura Tateosian wrote: > Hi, I'm trying to install psycopg2 on a Centos 5, 64-bit machine. I > have both 2.4 and 2.7 Python versions on this machine. I attempted to > install using > easy-install2.7 psycopg2 > > The install is not working. (I can't import psy

Re: [GENERAL] Trouble installing psycopg2

2013-09-26 Thread David Kerr
On Thu, Sep 26, 2013 at 01:01:54PM -0400, Laura Tateosian wrote: - Hi, I'm trying to install psycopg2 on a Centos 5, 64-bit machine. I have - both 2.4 and 2.7 Python versions on this machine. I attempted to install - using - easy-install2.7 psycopg2 - - The install is not working. (I can't im

[GENERAL] Trouble installing psycopg2

2013-09-26 Thread Laura Tateosian
Hi, I'm trying to install psycopg2 on a Centos 5, 64-bit machine. I have both 2.4 and 2.7 Python versions on this machine. I attempted to install using easy-install2.7 psycopg2 The install is not working. (I can't import psycopg2 in a python 2.7 session). yum doesn't list it as installed.