How to handle @ in pip install with git?

Viewed 687

I need to install a package using pip via Git.

The password of the repo contains @.

According to Git clone with password @, I tried the following:

pip install git+http://user:xxxx%40xxxx@url...

Which threw:

fatal: Authentication failed for

Same with:

   pip install git+http://user:xxxx@xxxx@url...
   pip install git+http://user:'xxxx@xxxx'@url...

How can I install a package using pip via git+http giving the credentials directly to command line when the password contains @ in sh ?


Edit:

To make it clear: I am NOT using Github but TFS17 and I have NO OTHER CHOICE but provide username and password inside the URL.

0 Answers
Related