我用的是Postgres和Pandas,但很难将两者连接起来。 我使用SQLAlchemy创建了enginestr,如下所示
from sqlalchemy import create_engine
engine = create_engine('postgresql://postgres:password@localhost:5432/bilal')
但是,当我运行该语句时,我得到以下错误
^{pr2}$我试过安装模块,但没有任何运气。是因为我用的是32位的Windows机器吗?在
谢谢
比拉尔
你安装正确了吗? 使用此链接下载并安装win-psycopg或使用
pip install psycopg2
您可以在连接字符串中指定它:
相关问题 更多 >
编程相关推荐