当前位置:网站首页>[gossip] error loading psychopg2 module: no module named psychopg2
[gossip] error loading psychopg2 module: no module named psychopg2
2022-07-26 10:22:00 【Fried lentils】
- In the use of Django Connect postgresql When it comes to databases , Use
python manage.py migratePrompt when creating the database :django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2' - terms of settlement :
apt install psycopg2If it fails , Never mindapt install libpq-devperhapsapt install postgresql-server-dev-X.Y, One of them must be installed successfullypip install psycopg2Must be installed successfully .- Finally, remember to give it to you
setting.pyThe database set inside , Set an access password , Otherwise, it will also report an error .
- To set the access password, please refer to Relevant commands here .
边栏推荐
- 利用原生js实现自定义滚动条(可点击到达,拖动到达)
- RecyclerView最后一条显示不全或显示部分的问题解决
- string null转空字符串(空字符串是什么意思)
- Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install
- Network related journals and conferences in CS
- Learning about tensor (III)
- Beginner of flask framework-04-flask blueprint and code separation
- 在.NET 6.0中配置WebHostBuilder
- INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
- INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误解决方式
猜你喜欢
![[award-winning question] ask Judea pearl, the Turing prize winner and the father of Bayesian networks](/img/0f/01d6e49fff80a325b667784e40bff3.png)
[award-winning question] ask Judea pearl, the Turing prize winner and the father of Bayesian networks

How to write a million reading article

Principle analysis and source code interpretation of service discovery

PLC概述

Learning about opencv (1)

INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误解决方式

【Halcon视觉】图像滤波

Interview shock 68: why does TCP need three handshakes?

Li Kou daily question 917

【Halcon视觉】编程逻辑
随机推荐
Self encapsulated database dbutils universal template
SQL Server 2008 server engine failed to start?
INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
Prevent XSS attacks
MySQL function
数通基础-STP原理
简单化构造函数的继承方法(二)- ES6中的class继承
C language course design Tetris (Part 2)
Some descriptions of DS V2 push down in spark
Learning about opencv (3)
modelsim 安装教程(应用未安装)
Learning about tensor (III)
Basics of data communication - basic knowledge of network
微信公众号发布提醒(微信公众号模板消息接口)
Time series anomaly detection
Application of crosstab in SQL Server
Cause: couldn‘t make a guess for 解决方法
Function template parameters (where are the function parameters)
PTA class a 1002
【Halcon视觉】数组