Good evening, I am having a problem with pulumi-aw...
# general
a
Good evening, I am having a problem with pulumi-aws, I have installed it using "pip3 install pulumi-aws" in vscode terminal and the system cant recognize it in a python file through "import pulumi-aws as aws". Any suggestions?
r
in the project space, do ./venv/bin/pip install pulumi-aws
a
it worked after editing the environment variables path, but thanks
l
@abundant-umbrella-49346 the package to install might be named
pulumi-aws
(with a hypen), but the import statement should contain
pulumi_aws
(with an underscore). See one of our examples here: https://github.com/pulumi/examples/blob/master/aws-py-s3-folder/__main__.py#L6