Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectNotFound: (\install-python.ps1:String) #52

Open
1 task done
franciscohanna92 opened this issue Aug 15, 2019 · 3 comments
Open
1 task done

ObjectNotFound: (\install-python.ps1:String) #52

franciscohanna92 opened this issue Aug 15, 2019 · 3 comments
Labels
requires readme update README.md is not accurate/needs update

Comments

@franciscohanna92
Copy link

franciscohanna92 commented Aug 15, 2019

1. Please specify the following:

  • OS: [e.g. OS X, Ubuntu, Windows, etc.]: Windows 7 SP1 32 bits

  • Shell (Bash, PowerShell, Zsh, etc.): Powershell

  • I have reviewed the troubleshooting tips described here and they do not solve my problem

2. Description
When I run .\aws-elastic-beanstalk-cli-setup\scripts\bundled_installer, I get the following error:

El término '\install-python.ps1' no se reconoce como nombre de un cmdlet, función, archivo de script o programa ejecuta
ble. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que dicha ruta es correc
ta e inténtelo de nuevo.
En línea: 1 Carácter: 20
+ \install-python.ps1 <<<<
    + CategoryInfo          : ObjectNotFound: (\install-python.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Exiting due to failure

It's in spanish, but basically it says that it doesn't find the install-python.ps1 script.

@rahulrajaram
Copy link
Contributor

rahulrajaram commented Aug 16, 2019

@franciscohanna92 , thanks for reaching out. I can't think of any reason why this should fail although the \install-python.ps1 bit looks suspicious. $PSScriptRoot is failing to resolve. Can you tell me which version of PowerShell you have?

@rahulrajaram rahulrajaram added the closing soon if no response OP has not responded to follow-up question in a while; not enough information to proceed. label Aug 29, 2019
@rahulrajaram
Copy link
Contributor

The problem here almost certainly is an older version of PowerShell. You need at least version 3.0 of PowerShell.

@rahulrajaram rahulrajaram added requires readme update README.md is not accurate/needs update and removed closing soon if no response OP has not responded to follow-up question in a while; not enough information to proceed. labels Aug 29, 2019
@RushikeshJoshi4
Copy link

It's a very old issue, but I think worth noting. For some reason, when I cloned, the install-python.ps1 file wasn't there in my scripts directory. I can't think of any reason why, but that's what I saw. All other files were present except for this one. So, I manually copied that file and now its working. (Technically there was another issue I faced to finish it, but I don't think it is related to this one.)

I'm running on PowerShell version 5.1 on a Windows 10 computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires readme update README.md is not accurate/needs update
Projects
None yet
Development

No branches or pull requests

3 participants