1.在官网下载完postgresql之后自动就会安装pgadmin可视化界面。pgadmin打开Browser下面的Servers下面啥也没有,百度说是自己远程连接服务器(自己本地机器)
2.步骤:
1)查询自己的host的ip
2)右击Servers选择create–>servers
3)General的name随便写,Connection下面的host name/address写自己主机id地址,输入安装postgresql的密码一般默认123456.
4)save失败则去修改配置文件
https://blog.csdn.net/wuxch_hz/article/details/54092201
3.如果pip install psycopg2成功了但是import还报错,则在pycharm里面,file–>settings–>python interpretor–>里面±->manage repositories–>修改国内镜像–>再添加psycopg2即可
https://blog.csdn.net/weixin_42128329/article/details/100005642