'pip' is not recognized as an internal or external command

前端 未结 30 2635
迷失自我
迷失自我 2020-11-21 05:41

I\'m running into a weird error when trying to install Django on my computer.

This is the sequence that I typed into my command line:



        
30条回答
  •  醉话见心
    2020-11-21 06:23

    When installing SQL 2019 Python, there are known issues for PIP which require a fix (step 7) https://docs.microsoft.com/en-us/sql/advanced-analytics/known-issues-for-sql-server-machine-learning-services?view=sql-server-ver15

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

    Workaround
    Copy the following files:
    
    libssl-1_1-x64.dll
    libcrypto-1_1-x64.dll
    
    from the folder 
    C:\Program Files\Microsoft SQL Server\MSSSQL15.MSSQLSERVER\PYTHON_SERVICES\Library\bin
    to the folder 
    C:\Program Files\Microsoft SQL Server\MSSSQL15.MSSQLSERVER\PYTHON_SERVICES\DLLs
    
    Then open a new DOS command shell prompt.
    

提交回复
热议问题