Personal tools
You are here: Home Projekte Grok HowTo install Grok with Python 2.4.4 on MacOSX 10.4.9 from scratch!
Document Actions

HowTo install Grok with Python 2.4.4 on MacOSX 10.4.9 from scratch!

Some people report issues with installing i.e. Zope3 on MacOSX. If you simply want to start development with Grok give this a try. It seems to install well by bypassing some traps when explicitly linking the new python2.4 into the standard path and the related commands easy_install, buildout and grokproject too.




On your MacOSX box make sure you have the latest XCODE 2.4.1 or later Developer Tools installed,

Fire up a Terminal and start with installing Python.

Install Python 2.4.4

Python is installed as a framework and as a universal binary for Intel & PowerPC (requires XCODE 2.1 minimum)
tar -xvzf Python-2.4.4.tgz
cd Python-2.4.4
./configure --enable-framework --enable-universalsdk
sudo make install
Now link it into the system path if you like (this will serve your new python2.4 at the sytem prompt!
cd /usr/bin/
sudo ln -s ../../Library/Frameworks/Python.framework/Versions/2.4/bin/python python2.4
sudo ln -s ./python2.4 python
Check your python
python #and you get
Python 2.4.4 (#1, Jun 20 2007, 22:46:27)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
leave with ctrl-d

Install setuptools

To install setuptools into your python type:

Update easy_install with the script

python -U setuptools

Now link easy_install-2.4 into your system path as easy_install.

cd /usr/bin/
sudo ln -s ../../Library/Frameworks/Python.framework/Versions/2.4/bin/easy_install ./easy_install-2.4
sudo ln -s ./easy_install-2.4 ./easy_install

Install latest zc.buldout with easy_install

easy_install zc.buildout

Install latest Grok with easy_install

easy_install grok
To explicitly install a specific version read the instructions on easy_install

Install latest Grokproject with easy_install

easy_install grokproject
Now link the grokproject command into your system path:
cd /usr/bin
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/grokproject ./grokproject

Create a new grokproject


cd [yourprojectscontainer]
grokproject MyProject

and follow the instructions. You should find you new Grok project with an appropriate Zope3 installation ready in the driectory:


To get more informatrion about Grok and Grokproject visit: