Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link: http://wiki.python.org/moin/MacPython/Leopard
If I open wing, it turns out that the installed version is actually
2.6, but if i run python from terminal it displays version 2.5.1, that
is the default version for leopard. Furthermore I can't launch idle.
I'm pretty new to mac os environment so forgive me if my questions are
silly. Any hint? 6 6683
On Nov 17, 2008, at 10:53 AM, Massi wrote:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link: http://wiki.python.org/moin/MacPython/Leopard
If I open wing, it turns out that the installed version is actually
2.6, but if i run python from terminal it displays version 2.5.1, that
is the default version for leopard. Furthermore I can't launch idle.
I'm pretty new to mac os environment so forgive me if my questions are
silly. Any hint?
Your terminal is using the shell environment -- specifically the PATH
-- to find Python. Although your Python is probably installed in a
Framework directory, one doesn't typically put Framework directories
in the PATH. Instead, your install may have created symlinks in /usr/
bin or /usr/local/bin to your Python 2.6 install. If, for instance,
those symlinks live in /usr/local/bin, then put that directory first
in your path and then typing `python` at the command line will launch
Python 2.6.
If the symlinks aren't there, you can create them by hand.
HTH
Philip
17 nov 2008 kl. 16.53 skrev Massi:
Hi everyone, I'm trying to install Python2.6 on my mac (Leopard
10.5.5), but I'm encountering some problems. To install the package I
followed the instructions I found at this link: http://wiki.python.org/moin/MacPython/Leopard
If I open wing, it turns out that the installed version is actually
2.6, but if i run python from terminal it displays version 2.5.1, that
is the default version for leopard. Furthermore I can't launch idle.
I'm pretty new to mac os environment so forgive me if my questions are
silly. Any hint?
-- http://mail.python.org/mailman/listinfo/python-list
Locally build software usually ends up in subdirectories of /usr/local.
The build in Python 2.5 has a symlink installed in /usr/bin.
To make your locally-build python first in the search paths,
add export PATH="/usr/local/bin:$PATH"
to your bash login file
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone" to************@ comhem.se
Philip Semanchuk wrote:
>
On Nov 17, 2008, at 10:53 AM, Massi wrote:
>Hi everyone, I'm trying to install Python2.6 on my mac (Leopard 10.5.5), but I'm encountering some problems. To install the package I followed the instructions I found at this link: http://wiki.python.org/moin/MacPython/Leopard If I open wing, it turns out that the installed version is actually 2.6, but if i run python from terminal it displays version 2.5.1, that is the default version for leopard. Furthermore I can't launch idle. I'm pretty new to mac os environment so forgive me if my questions are silly. Any hint?
Your terminal is using the shell environment -- specifically the PATH
-- to find Python. Although your Python is probably installed in a
Framework directory, one doesn't typically put Framework directories
in the PATH. Instead, your install may have created symlinks in /usr/
bin or /usr/local/bin to your Python 2.6 install. If, for instance,
those symlinks live in /usr/local/bin, then put that directory first
in your path and then typing `python` at the command line will launch
Python 2.6.
AFAIK there are no symlinks at all created, everything resides
under /Library/Framework/Python.framewor k/Versions/2.6/bin.
A note to the OP: be cautious about replacing /usr/bin/python with your new
& shiny 2.6! That is likely to break the system, as OSX
uses /usr/bin/python and expects it to be the standard version shipped.
Creating
/usr/bin/python2.6
should be safe though.
Diez
On Nov 17, 2008, at 1:17 PM, Diez B. Roggisch wrote:
Philip Semanchuk wrote:
>> On Nov 17, 2008, at 10:53 AM, Massi wrote:
>>Hi everyone, I'm trying to install Python2.6 on my mac (Leopard 10.5.5), but I'm encountering some problems. To install the package I followed the instructions I found at this link: http://wiki.python.org/moin/MacPython/Leopard If I open wing, it turns out that the installed version is actually 2.6, but if i run python from terminal it displays version 2.5.1, that is the default version for leopard. Furthermore I can't launch idle. I'm pretty new to mac os environment so forgive me if my questions are silly. Any hint?
Your terminal is using the shell environment -- specifically the PATH -- to find Python. Although your Python is probably installed in a Framework directory, one doesn't typically put Framework directories in the PATH. Instead, your install may have created symlinks in /usr/ bin or /usr/local/bin to your Python 2.6 install. If, for instance, those symlinks live in /usr/local/bin, then put that directory first in your path and then typing `python` at the command line will launch Python 2.6.
AFAIK there are no symlinks at all created, everything resides
under /Library/Framework/Python.framewor k/Versions/2.6/bin.
Sorry if I misinformed; I have such symlinks in /usr/local/bin dated
the same day as my custom Python install. I guess I could have created
them myself, but I don't think I would have bothered creating a
symlink for pythonw, for example since I never use it.
A note to the OP: be cautious about replacing /usr/bin/python with
your new
& shiny 2.6! That is likely to break the system, as OSX
uses /usr/bin/python and expects it to be the standard version
shipped.
Creating
/usr/bin/python2.6
should be safe though.
Good point, once again I'm sorry for my sloppy information.
bye
Philip
Sorry if I misinformed; I have such symlinks in /usr/local/bin dated
the same day as my custom Python install. I guess I could have created
them myself, but I don't think I would have bothered creating a
symlink for pythonw, for example since I never use it.
Did you really create a framework-install? Maybe that explains it. You can
compile it witout framework on OSX, but then of course miss a lot of
features.
I for once have created PATH-entries to the frameworks in my .bashrc
Diez
On Nov 17, 2008, at 2:05 PM, Diez B. Roggisch wrote:
>Sorry if I misinformed; I have such symlinks in /usr/local/bin dated the same day as my custom Python install. I guess I could have created them myself, but I don't think I would have bothered creating a symlink for pythonw, for example since I never use it.
Did you really create a framework-install? Maybe that explains it.
You can
compile it witout framework on OSX, but then of course miss a lot of
features.
I have two pythons installed, the OS X standard one in the Frameworks
directory under /System, and mine in the Frameworks directory under /
Library. I'm pretty sure I used the --enable-framework option to
install the latter. I can't figure out how else my custom Python would
have landed in a Frameworks directory. =) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Wayne Pierce |
last post by:
I have been working on installing the Python bindings for Milters on a
Mandrake 9.x system.
When I type:
python setup.py build
I get the following error (last 4 lines of output):
File "/usr/lib/python2.2/distutils/command/build_ext.py", line 231,
|
by: Alex Lapp |
last post by:
Hi ng,
i have a problem installing cvs module from:
http://www.object-craft.com.au/projects/csv/
My Python version is: Python 2.1.3
(Not the latest, but i need this version for running Zope Application
Server)
I downloaded the package (csv-1.0) and tried to install with python
|
by: Guillaume Gervais |
last post by:
Hello there,
I'm using Debian GNU/Linux testing/unstable (sarge) as an operating system.
About a month ago, I installed python 2.3 on my machine, from the sources.
And it worked perfectly. But about 3 weeks ago, I made a update of the
packages list (apt-get update) followed by a apt-get dist-upgrade. I short,
I upgraded Debian.
But among the ugraded packages was python2.3. And it doesn't seem to
|
by: Dennis Hore |
last post by:
I'm trying to install Nick Patavalis' ppgplot package on Mac OS X 10.3
with python 2.3. I first sent this message to Nick, but he said he
doesn't have any experience with the Mac platform.
after installing using python setup.py install (using Numeric; no error
messages), and then in python trying
>>> import ppgplot
i get:
|
by: Edward Diener |
last post by:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a
number of Linux utilities and commands, like yum, stop working because
they were dependent on the Python 2.3 installation. What happens is that
Python 2.4 replaces the /usr/bin/python module with the Python 2.4
version. If I replace /usr/bin/python with the Python 2.3 version
executable, which is still on my system, that all the aforesaid modules
depend on, they start...
| |
by: Gary Wessle |
last post by:
Hi
I am trying to install NumPy in my debian/testing linux
2.6.15-1-686.
with no numpy for debian/testing, I am left alone, since the
experimental version available by debian will result in a dependency
nightmares,
so after unpacking the downloaded file "numpy-0.9.6.tar.gz"
|
by: Cappy2112 |
last post by:
I've just started a job which has a massive python2.3.4-centric tools
installation and configuration.
I know what you're going to say, but I can't upgrade and be the only
one with a newer version. There are close to 30 engineers using this
same tools configuration, and it has been working fine for a long time.
For now, we all have to live with the limitations and or bugs in 2.3.4.
I'm running Windows XP, SP2, on a AMD 1.79Ghz MP 2200+.
|
by: Nader Emami |
last post by:
I have installed "TurboGears" and I would install 'pysqlite' also. I am
a user on a Linux machine. If I try to install the 'pysqlite' with
'easy_install' tool I get the next error message. The error message is
longer than what I send here.
% easy_install pysqlite
Searching for pysqlite
Reading http://cheeseshop.python.org/pypi/pysqlite/
Reading http://pysqlite.org/
|
by: =?ISO-8859-1?Q?Andr=E9?= |
last post by:
Sorry about the simple question ...
I'd like to install Python 3000 on my computers (Mac, and possibly
Windows), without messing up the existing versions. So far, I've
always relied on using ".msi" on Windows and ".dmg" on the Mac.
From the Python site, I read (different version, but still...):
----
Unpack the archive with tar -zxvf Python-2.4.4.tgz ... Change to the
Python-2.4.4 directory and run the "./configure", "make", "make
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |