Could not install packages due to an EnvironmentError: Could not find a suitable TLS CA certificate bundle, invalid path

前端 未结 3 1659
太阳男子
太阳男子 2021-01-03 15:38

I get this error:

Could not install packages due to an EnvironmentError: Could not find a suitable TLS CA certificate bundle, invalid path: /home/yosr

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-03 15:52

    In Windows 10, 1. Find the location of certifi with following commands to check if installed already

    import certifi
    certifi.where()
    
    1. Note down the path of cacert.pem file

    2. Search for the pip.ini file in windows explorer and edit the file in notepad and set the path =

提交回复
热议问题