Trying to introduce .netrc file for pip install

664 views Asked by At

Even after placing the .netrc file at the home directory and doing a chown $USER and chmod 600, the pip install asks for user and passowrd. Am I missing anything here so that the .netrc is ignored? .netrc file is like:

   machine https://artifactory_url_to_the_package
   login username
   password pswrd
0

There are 0 answers