我正在尝试使用AWSBean秸秆部署我的Django应用程序,下面是以下文档:https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html
直到现在,一切都在运转:
~/ebdjango$ eb init -p python-3.6 student-archive当我运行这一行代码时,我会得到以下错误:
eb : The term 'eb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1
+ eb init -p python-3.6 studentarchive
+ ~~
+ CategoryInfo : ObjectNotFound: (eb:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException这可能是什么原因?这是我的django.config:
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: StudentArchive/wsgi.py这是我的requirements.txt:
asgiref==3.4.1
autopep8==1.5.7
backports.entry-points-selectable==1.1.0
certifi==2021.5.30
distlib==0.3.2
Django==3.2.6
filelock==3.0.12
pipenv==2021.5.29
platformdirs==2.2.0
pycodestyle==2.7.0
pytz==2021.1
six==1.16.0
sqlparse==0.4.1
toml==0.10.2
virtualenv==20.7.0
virtualenv-clone==0.5.6发布于 2021-08-17 00:43:14
python3 -m pip install awsebcli有关安装的更多信息:
https://stackoverflow.com/questions/68810475
复制相似问题