sudo pip install -e [英] sudo pip install -e

查看:114
本文介绍了sudo pip install -e的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装 geonode 进行开发时,我遇到了下面的问题.

I faced the line below when I installed geonode for development.

sudo pip install -e .

以下是链接: http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html

但是我不明白 -e 的含义.可能是我的要求所引用.txt有人可以解释一下.

But I could not understand what -e . means. May be it referenced to my requirements.txt Can someone explain me, please.

推荐答案

Pip安装选项:

-e, --editable <path/url>   Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.  
-r, --requirement <file>    Install from the given requirements file. This option can be used multiple times.

sudo pip install -e中..指定当前目录路径,上面的pip命令将尝试搜索setup.py文件,以将其安装为开发模式.

In sudo pip install -e . The . specifies the current directory path and the above pip command will try to search for setup.py file to install the project in develop mode.

这篇关于sudo pip install -e的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆