简体   繁体   English

Python 错误:ImportError: DLL 在 Python 3.7 上使用 psycopg2 加载失败

[英]Python error: ImportError: DLL Load failed with psycopg2 on Python 3.7

I'm getting the following error:我收到以下错误:

 from psycopg2._psycopg import (                     # noqa
ImportError: DLL load failed: The specified module could not be found.

I have psycopg2 installed, any ideas?我已经安装了 psycopg2,有什么想法吗?

You can try to uninstall the psycopg2 package by您可以尝试通过以下方式卸载psycopg2 package

pip uninstall psycopg2

and manually try to install any package from Anaconda-Cloud and see whichever works.并手动尝试从Anaconda-Cloud安装任何 package 并查看哪个有效。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python 3.7和psycopg2。 ImportError:DLL加载失败 - Python 3.7 and psycopg2. ImportError: DLL load failed python错误ImportError:DLL加载失败:找不到指定的过程。 __load中的文件“ psycopg2 \\ _psycopg.pyc”,第10行 - python error ImportError: DLL load failed: The specified procedure could not be found. File “psycopg2\_psycopg.pyc”, line 10, in __load 导入错误:DLL 加载失败:-尝试导入 psycopg2 库时 - ImportError: DLL load failed : - when trying to import psycopg2 library Python 3.7 psycopg2 - Xcode 错误“错误:命令 'gcc' 失败,退出状态为 1” - Python 3.7 psycopg2 - Xcode Error “error: command 'gcc' failed with exit status 1” DLL加载失败python 3.7 - DLL load failed python 3.7 psycopg2 - 导入错误:DLL 导入 _psycopg 时加载失败:操作系统无法运行 %1 - psycopg2 - ImportError: DLL load failed while importing _psycopg: The operating system cannot run %1 安装 psycopg2 失败 python 3.7 - install psycopg2 failing python 3.7 Python ImportError:没有名为psycopg2的模块 - Python ImportError: No module named psycopg2 如何在 VsCode 上的 Python 3.7 和 OpenCV 4.1.1 中解决“导入 cv2,导入错误:DLL 加载失败”? - How can I solve "import cv2, ImportError: DLL load failed " in Python 3.7 and OpenCV 4.1.1 on VsCode? 加载 psycopg2 模块时出错:导入 _psycopg 时 DLL 加载失败:找不到指定的模块 - Error loading psycopg2 module: DLL load failed while importing _psycopg: The specified module could not be found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM