Skip to content

Commit 64f61b7

Browse files
authored
The location of the CA Certificate also changed
1 parent 9f44cad commit 64f61b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

virtualenv.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,10 +860,11 @@ def space_path2url(p):
860860
861861
try:
862862
from pip._internal import main as _main
863+
cert_data = pkgutil.get_data("pip._vendor.certifi", "cacert.pem")
863864
except ImportError:
864865
from pip import main as _main
866+
cert_data = pkgutil.get_data("pip._vendor.requests", "cacert.pem")
865867
866-
cert_data = pkgutil.get_data("pip._vendor.requests", "cacert.pem")
867868
if cert_data is not None:
868869
cert_file = tempfile.NamedTemporaryFile(delete=False)
869870
cert_file.write(cert_data)

0 commit comments

Comments
 (0)