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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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