English 中文(简体)
视窗的心理学镜头2进口Error-0303.12
原标题:psycopg2 importError Python3.12 on Windows

I have a python script that I built over the last 2 weeks using python3.10. The script did run fine 100s of times until I reinstalled python/modules.

我最近升级为3.12。 我不得不再次安装所有单元,但现在出于某种原因,在我试图操作我的文字时,精神镜头2模块仍然有以下错误:

packagespsycopg2\__init__.py", line 51, in <module>
    from psycopg2._psycopg import (                     # noqa
ImportError: DLL load failed while importing _psycopg: The specified module could not be found.

我正迅速从《视觉演播法》第1.83条手稿。

我已尝试停下来,清除了皮条藏匿点和重新安装。

我已尝试过拟议的心理治疗包。

我尝试更新微软视像C++。 我尝试重整312页。

I assume this is some weird windows dependency issue. Can anyone please help me troubleshoot? I am happy to provide more information if needed.

问题回答

我也存在同样的问题,但不幸的是,除了从3.12到3.1.6的降级外,还找不到任何解决办法,因为现在情况良好。

Should be releasing a fix for version 3.12 on Windows soon. https://github.com/psycopg/psycopg2/issues/1628





相关问题
摘录数据

我如何将Excel板的数据输入我的Django应用? I m将PosgreSQL数据库作为数据库。

Postgres dump of only parts of tables for a dev snapshot

On production our database is a few hundred gigabytes in size. For development and testing, we need to create snapshots of this database that are functionally equivalent, but which are only 10 or 20 ...

How to join attributes in sql select statement?

I want to join few attributes in select statement as one for example select id, (name + + surname + + age) as info from users this doesn t work, how to do it? I m using postgreSQL.

What text encoding to use?

I need to setup my PostgreSQL DB s text encoding to handle non-American English characters that you d find showing up in languages such as German, Spanish, and French. What character encoding should ...

SQL LIKE condition to check for integer?

I am using a set of SQL LIKE conditions to go through the alphabet and list all items beginning with the appropriate letter, e.g. to get all books where the title starts with the letter "A": SELECT * ...

热门标签