您的位置:首页 > 编程语言 > Python开发

【转载】Pip in IronPython 2.7.5

2017-12-05 21:12 1006 查看
http://ironpython.net/blog/2014/12/07/pip-in-ironpython-275.html

Pip in IronPython 2.7.5

With IronPython 2.7.5 finally released, one of the most useful features is finally widely available –
pip support.

Installing pip is done with a backport of the ensurepip module:

ipy -X:Frames -m ensurepip


Note that –X:Frames is always required when working with pip. If using an installed IronPython that should be run from an Administrator command prompt (or using
install -user). Using a regular command prompt will probably result in errors.

To install packages:

ipy -X:Frames -m pip install html5lib


Unfortunately pip
does not work, so the longer version has to be used instead.

There is no gaurantee that all libraries will install or run successfully, but many popular ones (like html5lib) do.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐