问题:

Database restore error: Command `psql` not found.

 

解决方法:

1.查看 PostgreSQL 是否安装在C盘,如果安装在其他盘则需要设置环境变量
C:\Program Files\PostgreSQL\10\bin


配置完成后重启服务就可以了

2, 如果还不行,只需在odoo.conf中添加一个配置设置。也就是在odoo项目的配置文件中添加下面一行代码:

pg_path=C:/Program Files/PostgreSQL/9.4/bin

 

方法参考自:http://www.haopython.com/myitem/464/

相关文章:

  • 2021-07-09
  • 2021-10-26
  • 2021-12-09
  • 2021-06-22
  • 2021-12-05
  • 2021-11-26
  • 2021-12-28
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2021-12-11
  • 2021-11-19
  • 2022-12-23
  • 2021-04-17
  • 2021-05-16
相关资源
相似解决方案