首页 > 解决方案 > Windows 上的 Anaconda 3 混合了 32 位和 64 位版本?

问题描述

我在 Windows 10 64 位上遇到了 Anaconda3 的一些问题

安装版本 Anaconda3-2019.07-Windows-x86_64 并在命令行(anaconda 提示符)上启动 python,出现以下消息:

    (base) C:\>python
Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

它实际上是 64 位版本,但上面的消息显示“Anaconda, Inc. on win32”。这很奇怪......

然后,当导入 ssl 模块时,会出现以下错误:

>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\u00178980\anaconda3\lib\ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: DLL load failed: %1 not a valid Win32 application.

64 位和 32 位版本似乎有些混合?

标签: python-3.xwindows-10anacondax86-64

解决方案


推荐阅读