Installation of certificate in pip

מתוך ויקי נטפרי
קפיצה לניווט קפיצה לחיפוש

לעברית לחצו כאן

To switch from edit view to read view

To search in the Wiki

Home page > Security certificate > Installation of certificate in pip

Download the Security certificate from here http://netfree.link/netfree-ca.crt and save it on the computer.


Now create a text file named pip.ini (in Linux pip.conf) in the folder named pip in this path:

C:\Users\ <users folder> \AppData\Roaming\pip

(If the folder does not exist, create it)


Write in the pip.ini file this content:


 [global] 
cert = C:\netfree-ca.crt

Instead of the file path (C:/netfree-ca.crt) you should write the path where you saved the Security certificate.



Alternatively you can cancel the need for a certificate on the source sites of pip by adding the following lines to the above file:


 [global]
 trusted-host = pypi.python.org
   pypi.org
   files.pythonhosted.org

External links

The pip documentation site