VS pip配置了需要TLS/SSL的位置,但是Python中的SSL模块不可用

VS pip配置了需要TLS/SSL的位置,但是Python中的SSL模块不可用,python,visual-studio-code,pip,anaconda,python-imaging-library,Python,Visual Studio Code,Pip,Anaconda,Python Imaging Library,我使用VisualStudio代码和Anaconda。我正在尝试安装枕头,以便在Visual Studio代码中使用。在Anaconda之外,我已经有了一个单独的Python环境 在Windows命令提示符下,我输入: C:\Users\Owner>pip install Pillow 以下是我的警告: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Pyt

我使用VisualStudio代码和Anaconda。我正在尝试安装枕头,以便在Visual Studio代码中使用。在Anaconda之外,我已经有了一个单独的Python环境

在Windows命令提示符下,我输入:

C:\Users\Owner>pip install Pillow
以下是我的警告:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.'
Requirement already satisfied: Pillow in c:\users\owner\anaconda3\lib\site-packages (7.2.0)
如何正确安装枕头以在Visual Studio代码上运行?

在cmd中:

在VSCode中,安装和使用模块“枕头”的步骤如下:

  • 请使用快捷键Ctrl+Shift+`进入当前选定的环境

  • 检查安装工具“
    pip

  • 检查安装包

  • 运行:


  • 参考:。

    您似乎有一个未编译SSL的python构建。这会给任何加密的网络连接带来麻烦。您是如何安装Python的?从Python.org官方网站