Re: [Mailman-Users] Distutils is not available or is incomplete for /usr/bin/python
Odd how things come back again.
Searching for a solution to a problem I am having with a clean install, I found this. Apparently this problem was solved for me almost 4 years ago for me by installing Xcode. Now it is not.
I have a clean install of MacOSX 10.8.3 server, downloaded Xcode 4.6.1 from the App Store and installed it. Was following the instructions on Allen's post http://mail.python.org/pipermail/mailman-users/2013-March/074888.html and when I went to run:
./configure --prefix=/usr/local/mailman --with-cgi-gid=_www --with-mail-gid=_mailman
Got the message:
***** Distutils is not available or is incomplete for /usr/bin/python
Grr…
Searching the Xcode documentation for distutils, I find:
The Python modules included in the standard package for OS X are the following:
• bdist_mpkg — Builds OS X installer packages from distutils
So I assume it should be in there. Interestingly the command found in http://www.mail-archive.com/mailman-users@python.org/msg56963.html produces:
mini53:~ paul$ sudo Python -V
sudo: Python: command not found
While
mini53:~ paul$ sudo python -V
Python 2.7.2
Is the problem in that my partition is case sensitive?
Suggestions as to what I should do?
Paul
Paul Kleeberg paul@fpen.org
On Dec 14, 2009, at 11:05 AM, Jerry Stratton <jerry@sandiego.edu> wrote:
On Dec 14, 2009, at 8:39 AM, Paul Kleeberg wrote:
Distutils is not available or is incomplete for /usr/bin/python
Have you installed XCode?
Jerry
On Windows, use Alt-PrtScr to take a screenshot; you can then paste it into an e-mail message. On Mac OS X, use Command-Shift-3 to take a screenshot (or if you only want to send a single window, use Command-Shift-4, position the mouse over the window you want, and then use the space bar). This will create a file on your desktop that you can drag into any document, such as an e-mail message.
Jerold Stratton, jerry@sandiego.edu http://home.sandiego.edu/~jerry/ User Services Consultant, Web Systems and Programming University of San Diego 5998 Alcala Park, Maher Hall 190 (619) 260-4810 x8773
"The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at and repair."--Douglas Adams (Mostly Harmless)
On 4/6/2013 8:51 AM, Paul Kleeberg wrote:
I have a clean install of MacOSX 10.8.3 server, downloaded Xcode 4.6.1 from the App Store and installed it. Was following the instructions on Allen's post http://mail.python.org/pipermail/mailman-users/2013-March/074888.html and when I went to run:
See <http://wiki.list.org/display/DEV/Mac+Mailman+development+setup+guide>, aka <http://wiki.list.org/x/NYDt>. That may help although it is aimed at Mailman 3 this note and the stuff it refers to may be relevant.
However, the stock version of python does not work. YOU WILL NEED TO INSTALL PYTHON FROM ANOTHER SOURCE. Below are several possible ways to do this using macports, fink or homebrew. YOU ONLY NEED TO FOLLOW ONE SET OF INSTRUCTIONS ON THIS PAGE. Just make sure you have a version of python installed other than the mac default, and then make sure that it is the one being used.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Paul Kleeberg