What Does Pip Install Mean?

What Does Pip Install Mean?

I am installing this . It tells me to do this instruction.

git clone 
cd pytorch-fcn
pip install .

What does pip install . mean ? Which folder or file am i running by just typing dot ? setup.py ?

2

1 Answer

Basically you are specifying the location from which the pip package manager to extract the package information from.
E.g.:

# Get the Source code
git clone 

# Change into the cloned git repository:pytorch-fcn
cd pytorch-fcn

# Install the package definitions from current location i.e. pytorch-fcn.
pip install .

Here is a brief description: pip executes the setup.py which loads the requirements.txt which has textual representation of the dependency packages.

References:

  1. Available here is the official documentation of pip.
  2. For better python development workflow refer here for why you should use pip and virtualenv.
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.