Search code examples
pip

what does this command do: pip install -e <some text>


What does this command do?

pip install -e ".[gpu]"

I've seen some documentation on the -e option, but I'm confused by the text afterwards.


Solution

  • The [gpu] is the name of the requirements group from setup.py. take a look at this for more information.

    pip install -e is how setuptools dependencies are handled via pip