- Error: could not determine Postg
- Error:Could not determine the de
- Error:Could not determine the de
- ERROR: Could not determine java
- ERROR: Could not determine java
- ubuntu14.04apache2出现Could not re
- Could not determine the dependen
- flutter Could not determine the
- MacOS下Jenkins 无法找到android sdk跟nd
- Linux 启动Apache报错解决
Error: could not determine PostgreSQL version from '10.5'
mac环境下,安装一个Python项目的依赖出了错,安装了PostgreSQL,然后好像是版本高了,报了这个错
多方参考,解决如下
1.brew uninstall postgresql
卸掉这个版本
2.brew search postgresql
然后就会出现可选的版本号
![](https://img.haomeiwen.com/i7792325/d9298b10c94e0da9.png)
3.凭感觉选一个靠谱的版本
brew install postgresql@9.5
4.修改一下.bash_profile
cd ~
touch .bash_profile
open -e .bash_profile
此时打开了这个文件,自己看一下postgresql的目录,我按照我的加了
export PATH=/usr/local/Cellar/postgresql@9.5/9.5.14/bin:$PATH
然后
source .bash_profile
5.pip install -r requirements.txt
到这里就解决了
在这个过程里遇到些其他的幺蛾子都是可以搜到解决方法的
网友评论