Installation of certificate in pip: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
(יצירת דף עם התוכן "<div lang="en" dir="ltr" class="mw-content-ltr"> <div lang="he" dir="rtl"> לעברית לחצו כאן </div> <small> ''NetF...") |
(אין הבדלים)
|
גרסה מ־05:50, 1 בנובמבר 2018
לעברית לחצו כאן
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