Can't connect with Elastic Beanstalk CLI: "C:\Users\Danny B>eb init 'eb' is not recognized as an internal or external command, operable program or batch file."

0

I have succesfully installed Elastic Beanstalk CLI on my local Windows machine following instrucions here:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install-advanced.html

I have also added these paths in my local windows environment variables:

%USERPROFILE%\AppData\Roaming\Python\Scripts

%USERPROFILE%\AppData\Local\Programs\Python\Python311\Scripts

%USERPROFILE%\AppData\Roaming\Python\Python311\Scripts

Ehe error I'm getting in my command line when I type C:\Users\Danny B>eb init

is this:

'eb' is not recognized as an internal or external command, operable program or batch file.

Can anybody help? Thanks!

1개 답변
0

Hi

It seems that even though you have configured the Paths they have not loaded into your terminal environment.

If you are using Powershell you can use the following command to reload

$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") 

Another way to reload is to simply restart the machine.

Hope this helps

profile picture
Bisina
답변함 일 년 전
  • I restarted the machine, but it didn't help. I don't understand how to translate what you wrote for my situation.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠