Install python on leopard


















I am using python 2. Rather late for the original question, but in case others - like me - are encountering the mystery of a missing stdarg. I'm using MacOS X I usually install packages like this with MacPorts.

It's package management software that handles all the downloading, configuring and installing for you. It's just like emerge on gentoo or apt-get on debian. Make sure you have Xcode installed and install macports. Once you've got that installed, fire up the terminal and install mysql by typing:. I switched to postgres. It works pretty well with django on snow leopard, with one minor problem. I solved the problem by randomly assigning an id from a large random range, and relying on the unique column designation to prevent collisions.

In fact, many on the django irc channel recommended running a virtual linux instance on the mac to get around my mysql install problems on it. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 11 years, 6 months ago. I really advise against using macports for python libraries. Many thanks! Especially to Leo Simons but also Jimmy Royer. I am just starting on Python, and this discussion made an impossible job possible.

My iMac is panther That made it even harder. Luckily I was able to get python 2. Never known anything as hard to install as it is to install lxml on OS X! I had a lot of problems at first with the lxml installation complaining about architecture types but fresh downloads of everything seemed to fix it.

Making all in. Tpo -c -o SAX. This is libtool 2. Hey Michael, that looks like a rather weird error. I think you have to do what it says, and re-run autoconf. Did you try that? Share this: Twitter Facebook. Like this: Like Loading If you want the most recent Python 3, download and install one of the two official Python 3. The Python installers from python. In that directory, you will find bin , lib , and other directories unique to that version. If you install another Python versions say, 2.

There will also be a version of IDLE. The Apple-supplied system Pythons 2. Thus, the system Python files do not need to be and should not be altered or removed. The python. With Python 3 there is no conflict anyway, since you need to invoke it by python3 , rather than python. If you are really interested in the details, download the source tarball and examine configure. You can pass many options to the configure script; run ". On OSX and Cygwin, the executable is called python.

On Mac OS X, if you have configured Python with --enable-framework, you should use "make frameworkinstall" to do the installation.

This will fail if you also built at the top-level directory. You should do a "make clean" at the toplevel first. You are installing packages and modules. You can download the source and look through the directory. Everything installed is as it appears. This is not Windows where files are spewed everywhere on the system.

How are we doing? Please help us improve Stack Overflow.



0コメント

  • 1000 / 1000