“pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available”

后端 未结 8 1319
感情败类
感情败类 2020-12-28 15:11

I have the anaconda package and run Spyder. Here is my system information:

anaconda                  2018.12                  py37_0

Python                          


        
相关标签:
8条回答
  • 2020-12-28 15:38

    I had the same issue when I created a new environment in anaconda, activated it and tried to install a library with pip. What was missing was:

    conda install pip
    

    then everything worked for me.

    0 讨论(0)
  • 2020-12-28 15:39

    Activate your base conda environment:

    conda activate base

    0 讨论(0)
  • 2020-12-28 15:40

    Try your install/update with pip3 instead of pip.

    0 讨论(0)
  • 2020-12-28 15:43

    Here was my process to correct the error, on Windows 10 with Anaconda:

    1. Added the following paths to my environment variables:
      • /AppData/Local/Continuum/Anaconda3
      • /AppData/Local/Continuum/Anaconda3/Scripts
      • /AppData/Local/Continuum/Anaconda3/Library
      • /AppData/Local/Continuum/Anaconda3/Library/Bin

    At this stage, the error message was still there.

    1. From Anaconda Prompt, I installed the latest version of pip:

      python -m pip install --upgrade pip

    This appeared to correct the DLL conflict.

    0 讨论(0)
  • 2020-12-28 15:44

    Activating the base and then activated my Django environment.

    (Django_env) (base) C:\virtual_environment\Django_env> , which actually worked for me.

    0 讨论(0)
  • 2020-12-28 15:53

    I do not have libeay32.dll in bin folder either, but after adding C:\Users\<user name>\Anaconda3\pkgs\openssl-1.1.1a-he774522_0\Library\bin to the top of path, it is working. This is on Windows 10 64-bit.

    0 讨论(0)
提交回复
热议问题