在ipython中导入这个并在没有pip的情况下神奇地使用它!正确的版本!

pip_magic的Python项目详细描述


使用ipython简化pip
$ipython2In[1]:importpip_magicIn[2]:pipinstallpip_magic--upgrade['pip_magic','--upgrade']Youareusingpipversion7.0.1,howeverversion7.0.3isavailable.Youshouldconsiderupgradingviathe'pip install --upgrade pip'command.Collectingpip-magicDownloadingpip_magic-0.2.1-py2.py3-none-any.whlInstallingcollectedpackages:pip-magicFoundexistinginstallation:pip-magic0.2Uninstallingpip-magic-0.2:Successfullyuninstalledpip-magic-0.2Successfullyinstalledpip-magic-0.2.1In[3]:## so recursive !

为什么?

this twitter thread, 该软件包预先确定了此线程的日期,但它是一个很好的示例:

安德烈亚斯穆勒

Is there a good succinct guide to how to figure out which Python environment you’re in and how to install stuff in the right environment that’s suitable for beginners? cc @jakevdp (also if there’s not Jake, can you write one ;)

我:

pip_magic: pypi.python.org/pypi/pip_magic use pip from within IPython/Notebook and it install in same env you’re in.

上午:

That looks great, but also lacks a write-up explaining the problem ;)

我:

Can I embed your tweet in the readme ?

上午:

Lol sure. Though it does expose me as the naysayer that I am ;) (and my tendency to complain on Twitter but not do anything productive lol)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java OnResizeListener或OnDrawListener或类似的东西   java Orika映射嵌套子列表   保存时java Heroku请求超时代码H12   数据库在Java中出现socket读取超时异常的原因是什么?   java如何更改来自Sqlite数据库的特定数据在Listview中的行颜色   java JAXB解组器无法正确处理XML中的列表   java Android日期时区让我抓狂   java不透明属性在Swing中如何工作?   eclipse从JavaEE代码生成流程图   java如何在Hibernate中从相关表中获取计数   java Glassfish部署了项目的依赖项库   java使内容适合JavaFx中的WebView   java不满意的链接错误libcrypto。所以1.0.0   循环中java数组的使用   java找出哪个包调用服务