Installation of certificate in pip: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
שורה 1: | שורה 1: | ||
− | <div lang="en" dir=" | + | {{עמוד בעברית|התקנת תעודה ב-pip}} |
− | + | ||
+ | <div lang="en" dir="ltr"> | ||
+ | |||
{{קישור אנגלית לתצוגת קריאה}} | {{קישור אנגלית לתצוגת קריאה}} | ||
− | + | {{Navigation|Security certificate}} | |
− | |||
− | |||
Download the Security certificate from here http://netfree.link/netfree-ca.crt and save it on the computer. | Download the Security certificate from here http://netfree.link/netfree-ca.crt and save it on the computer. |
גרסה מ־14:30, 9 בינואר 2019
לעברית לחצו כאן
To switch from edit view to read view
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