install ImageUtils python
I am trying to install ImageUtils, I found the package but it doesn't have an installer with it. what is t开发者_JAVA百科he procedure?
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
精彩评论