473,511 Members | 17,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PyGreSQL Install

I successfully installed postgresql and pygresql from source on my
MacBook 2ghz Intel core duo running os x 10.4.8. However, pygresql
installed under the defualt python 2.3 installation, while I've been
upgrading and working in 2.5, and have invested too much time to go
back to 2.3. I definitely don't know where every file is, but I know
that the site-packages folder where I need pgdb to be is
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages.
This is where I have pypar, pynum, numeric, etc. PyGreSQL installed
in the default
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages.
Anyone know where I can edit setup.py or what flags I can use to force
the install onto 2.5?

Thanks!

Jan 5 '07 #1
2 2580
goodepic schrieb:
I successfully installed postgresql and pygresql from source on my
MacBook 2ghz Intel core duo running os x 10.4.8. However, pygresql
installed under the defualt python 2.3 installation, while I've been
upgrading and working in 2.5, and have invested too much time to go
back to 2.3. I definitely don't know where every file is, but I know
that the site-packages folder where I need pgdb to be is
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages.
This is where I have pypar, pynum, numeric, etc. PyGreSQL installed
in the default
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages.
Anyone know where I can edit setup.py or what flags I can use to force
the install onto 2.5?

Thanks!
You should try:

$ python2.5 setup.py install

Normally it gets installed into the directory of the python version you
use when running setup.py. Is python 2.3 still the default on MAC OS X
10.4? I thought they switched to python 2.4.

Thomas
Jan 5 '07 #2
Awesome! I forgot that when I did switched to root I lost my PATH,
where I'd put usr/local/bin ahead of /usr/bin, so "python" went to 2.5
instead of 2.3. Using python2.5 worked perfectly. Thanks!!

Jan 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2275
by: trewornan | last post by:
I'm trying to install pygresql on mandrake 9.1 but when I try "python setup.py build" I get the error - "cannot find /usr/lib/python2.2/config/makefile" I don't have this makefile - is it...
1
1927
by: Radu Stanciu | last post by:
Hi, I want to use the PygreSQL modules on a Windows machine (more exactly a WinXP one). I've downloaded the latest version (3.4 so far) and I am required to build the pgmodule C library. Is...
2
2763
by: Neil Zanella | last post by:
Hello, I am using the following with python: The PyQt python bindings: http://www.riverbankcomputing.co.uk/pyqt/ based on the Qt GUI Application Framework:
0
857
by: D'Arcy J.M. Cain | last post by:
On Mon, 19 May 2008 18:00:30 +0200 <ervin.ramonllari@hotmail.comwrote: I assume that you got the installer from http://www.PyGreSQL.org/. If so, please join the PyGreSQL list (see above URL)...
0
7144
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5069
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1577
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.