Old notes taken from:
/c/technical/system/python-install.txt


#2010.05.04 15:28:49 pil archive
for the original library, this works best:

do this after libjpeg install
http://biomunky.wordpress.com/2010/04/19/pil-10-6-using-pip/

sudo easy_install pip

then

sudo pip install http://effbot.org/downloads/Imaging-1.1.6.tar.gz

can test and verify installation with:
cd /c/scripts
python image_resize.py notice_world.jpg 100

#2009.01.21 10:13:12 imaging pil
The other component that you will need to install is the Python Imaging Library (often abbreviated as PIL).

http://www.pythonware.com/products/pil/

Binaries for windows are available at the main site. Binary packages are much easier to install than from source.

For Mac OS X you can use ports, or find a binary package like the following:
http://pythonmac.org/packages/py25-fat/index.html
This also requires the 2.5 version of Python from python.org. (The one distributed with Leopard won't work)

See also:
http://code.google.com/appengine/docs/python/images/installingPIL.html



MISC
==========

#2009.01.21 10:23:06 virtualenv
If you are on a shared system, Virtual Env may help isolate your Python instance from other Python instances on the system.

#2010.04.19 15:32:01 mercurial
mercurial is usually installed earlier in the process...
it is needed before other python libraries
make sure you have it, and if not, install it now

also [2009.06.22 09:08:16]
notes for this are elsewhere
but this is also a good time to install mercurial
easy_install mercurial

on Mac OS X this does require Xcode to be up to date
(can still download an executable for mac)





easy_install virtaulenv
#virtualenv temp
virtualenv --no-site-packages temp
cd temp
source bin/activate

http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=pyglet+virtualenv&btnG=Google+Search
pyglet virtualenv - Google Search
http://www.mail-archive.com/pyglet-users@googlegroups.com/msg02166.html
pyglet and virtualenv
http://www.mail-archive.com/pyglet-users@googlegroups.com/msg00921.html
Re: broken egg for pyglet
http://www.mechanicalcat.net/richard/log/Python/Bruce_the_Presentation_Tool_2_0__beta
Bruce the Presentation Tool 2.0 (beta)
http://www.google.com/search?hl=en&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&hs=sHq&q=Window+manager+is+not+available.++Ensure+you+run+%22pythonw%22%2C+not+%22python%22&btnG=Search
Window manager is not available. Ensure you run "pythonw", not "python" - Google Search
http://www.astro.cornell.edu/staff/loredo/samsi/osx-install.html
Python for Astrostatistics - Mac OS X Installation
http://www.google.com/search?q=virtualenv+pythonw&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
virtualenv pythonw - Google Search
http://github.com/gldnspud/virtualenv-pythonw-osx/tree/master
gldnspud's virtualenv-pythonw-osx at master - GitHub
http://groups.google.com/group/python-virtualenv/browse_thread/thread/83fa4a12d22a30c8/744e19c194f1618a
virtualenv on OS X with pythonw - virtualenv | Google Groups
http://groups.google.com/group/python-virtualenv/browse_thread/thread/b119a3c26aa49238/8eb2671a8dc7764f?pli=1
No pythonw on OSX? - virtualenv | Google Groups
http://markmail.org/message/hk5aipxiah7bl2hy
Search results for virtualenv pythonw - MarkMail

using virtualenv on Mac OS X server edition requires downloading and installing Xcode Developer tools in order to gain access to install_name_tool
once that is there, everything works just fine.

http://www.google.com/search?hl=en&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&hs=tyc&q=mac+os+x+server+install_name_tool&btnG=Search
mac os x server install_name_tool - Google Search
http://blog.dscpl.com.au/2007/11/poor-mans-python-virtual-environment.html
Graham Dumpleton: Poor man's Python virtual environment.
http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPages/man1/install_name_tool.1.html
Mac OS X Developer Tools Manual Page For install_name_tool(1)


instructions for using virtualenv.py in cur directory

C:\>C:\Python25\python.exe "C:\Documents and Settings\Administrator\Desktop\virt
ualenv-1.0\virtualenv.py" sandbox
New python executable in sandbox\Scripts\python.exe
Installing setuptools...............................done.

virtualenv.py [virtualenv-name]
virtualenv.py tiny

cd [virtualenv-name]
cd tiny
source bin/activate

http://www.google.com/search?hl=en&q=pylons+virtualenv&btnG=Search
pylons virtualenv - Google Search
http://pypi.python.org/pypi/virtualenv
Python Package Index : virtualenv 1.1
http://wiki.pylonshq.com/display/pylonscookbook/Using+a+Virtualenv+Sandbox
Using a Virtualenv Sandbox - Pylons Cookbook - PythonWeb
http://www.google.com/search?hl=en&client=firefox-a&rls=com.ubuntu:en-US:official&hs=g5X&q=pylons+controller&start=20&sa=N
pylons controller - Google Search
http://bel-epa.com/pylonsdocs/index.html
Welcome to Pylons’ documentation! — Pylons v0.9.7 documentation
http://bel-epa.com/notes/Pylons/
Pylons
http://bel-epa.com/
Bel-EPA :: Welcome