Installation of certificate in pip: הבדלים בין גרסאות בדף

מתוך ויקי נטפרי
קפיצה לניווט קפיצה לחיפוש
שורה 1: שורה 1:
 
{{En|התקנת תעודה ב-pip}}  
 
{{En|התקנת תעודה ב-pip}}  
 
{{Navigation|Security certificate}}
 
{{Navigation|Security certificate}}
 +
 +
Create or edit this file:
 +
 +
%AppData%\pip\pip.ini
 +
 +
 +
Add the following lines:
 +
 +
[global]
 +
cert = C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt
 +
 +
 +
 +
======Another method======
  
 
Run the following command :
 
Run the following command :

גרסה מ־04:49, 13 בינואר 2020

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

To switch from edit view to read view

To search in the Wiki

Home page > Security certificate > Installation of certificate in pip ‎‎


Create or edit this file:

%AppData%\pip\pip.ini


Add the following lines:

[global]
cert = C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt


Another method

Run the following command :

pip config set global.cert "C:\ProgramData\NetFree\CA\netfree-ca-bundle-curl.crt"

Note: This command should only be run if you are on Windows and have already installed Security Certificate Software. In a different case, the certificate must be downloaded to the computer from here, extracted and run the command with the path change according to the location where you saved the certificate on the computer.

More options: Adding a parameter that points to the certificate location in each command execution, or adding the certificate location in the software settings file, or canceling the security check, see here.

External links

The pip documentation site