Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Django 在Windows 10中使用pg:push for Heroku_Django_Windows_Heroku_Postgis - Fatal编程技术网

Django 在Windows 10中使用pg:push for Heroku

Django 在Windows 10中使用pg:push for Heroku,django,windows,heroku,postgis,Django,Windows,Heroku,Postgis,在Windows 10中,我试图将PostGIS数据库从本地计算机推送到Heroku时遇到问题 我认为这个问题与“env”有关,它可以在Linux中设置,等等,但我不确定如何在Windows中设置 heroku pg:push MAPPPD DATABASE_URL --app mapppd 上面(其中MAPPPD是我的本地Postgres/PostGIS数据库,database_URL是我在Heroku应用程序上的数据库)只提供了以下信息: DL is deprecated, please

在Windows 10中,我试图将PostGIS数据库从本地计算机推送到Heroku时遇到问题

我认为这个问题与“env”有关,它可以在Linux中设置,等等,但我不确定如何在Windows中设置

heroku pg:push MAPPPD DATABASE_URL --app mapppd
上面(其中MAPPPD是我的本地Postgres/PostGIS数据库,database_URL是我在Heroku应用程序上的数据库)只提供了以下信息:

DL is deprecated, please use Fiddle
'env' is not recognized as an internal or external command, operable program or batch file. 
Password:
psql: FATAL:  password authentication failed for user "Grant"
!    Heroku client internal error.
!    Search for help at: https://help.heroku.com
!    Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       psql failed. exit status 512, output: "" (RuntimeError)
Command:     heroku pg:push MAPPPD DATABASE_URL --app mapppd
Plugins:     heroku-pg-transfer
Version:     heroku/toolbelt/3.42.25 (i386-mingw32) ruby/2.1.7
Error ID:    ee70861b921542ad939041602ddd9855
我遇到的所有解决方案都是基于Linux的

此外,当我想以“前端”身份登录本地数据库时,它试图以“格兰特”身份登录我

提前谢谢