Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Unable to package from Windows #14

Open
cloudwaves opened this issue Oct 17, 2018 · 0 comments
Open

Unable to package from Windows #14

cloudwaves opened this issue Oct 17, 2018 · 0 comments

Comments

@cloudwaves
Copy link

I have installed the per-requesites...
below is the error when packaging the source code.

Traceback (most recent call last):
File "D:\Users\ABC\AppData\Roaming\Python\Scripts\sam-script.py", line 11, in
load_entry_point('aws-sam-cli==0.6.0', 'console_scripts', 'sam')()
File "c:\python27\lib\site-packages\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "c:\python27\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\python27\lib\site-packages\click\core.py", line 1066, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\python27\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\python27\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\python27\lib\site-packages\click\decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "c:\python27\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "D:\Users\ABC\AppData\Roaming\Python\Python27\site-packages\samcli\commands\package_init
.py", line 22, in cli
do_cli(args) # pragma: no cover
File "D:\Users\ABC\AppData\Roaming\Python\Python27\site-packages\samcli\commands\package_init_.py", line 26, in do_cli
execute_command("package", args)
File "D:\Users\ABC\AppData\Roaming\Python\Python27\site-packages\samcli\lib\samlib\cloudformation_command.py", line 17, in execute_command
subprocess.check_call([aws_cmd, 'cloudformation', command] + list(args))
File "c:\python27\lib\subprocess.py", line 181, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\python27\lib\subprocess.py", line 168, in call
return Popen(*popenargs, **kwargs).wait()
File "c:\python27\lib\subprocess.py", line 390, in init
errread, errwrite)
File "c:\python27\lib\subprocess.py", line 640, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant