简体   繁体   English

sudo pip install -e

[英]sudo pip install -e

I faced the line below when I installed geonode for development. 在安装geonode进行开发时,我遇到了下面的问题。

sudo pip install -e .

Here is the link: http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html 这是链接: http : //docs.geonode.org/en/master/tutorials/admin/install/custom_install.html

But I could not understand what -e . 但我不明白-e。 means. 手段。 May be it referenced to my requirements.txt Can someone explain me, please. 可能是参考了我的requirements.txt。请有人解释一下。

Pip install Options: 点安装选项:

-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.

In sudo pip install -e . 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. 指定当前目录路径,上面的pip命令将尝试搜索setup.py文件以在开发模式下安装项目。

Doing a pip install --help shows the following for -e : 执行pip install --help显示-e的以下内容:

-e, --editable <path/url>   Install a project in editable mode (i.e.
                            setuptools "develop mode") from a local project
                            path or a VCS url.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM