开发者

install ImageUtils python

开发者 https://www.devze.com 2022-12-19 05:17 出处:网络
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

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

精彩评论

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

关注公众号