开发者

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):

  1. virtualenv iu-sandbox
  2. pip install -E iu-sandbox ImageUtils
  3. cd iu-sandbox
  4. source bin/activate
  5. Open the REPL and start exploring ImageUtils
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜