I am trying to install ImageUtils, I found the package but it doesn't have an installer with it. what is the procedure?
Asked
Active
Viewed 1,176 times
0
-
on Windows? Did you download the source or the Python egg? – Jason Coon Feb 03 '10 at 14:21
-
check this answer first... sounds like you just need the basics of installing a Python package: http://stackoverflow.com/questions/1471994/what-is-setup-py – Jason Coon Feb 03 '10 at 14:32
1 Answers
0
The general approach to installing Python packages is to use easy_install
, or pip
; the choice between the two tends to get political, so I will just say I use pip
. pip
plays well with virtualenv
, which is a tool that makes it much nicer to explore arbitrary Python packages.
In your case, (assuming you have installed virtualenv
and pip
) I would probably do something like the following (assumes Unix-like environment; there should be a Windows equivalent, but I'm not current on what it might be):
virtualenv iu-sandbox
pip install -E iu-sandbox ImageUtils
cd iu-sandbox
source bin/activate
- Open the REPL and start exploring
ImageUtils

Hank Gay
- 70,339
- 36
- 160
- 222