Hey there! Creating a project through "pulumi new ...
# general
f
Hey there! Creating a project through "pulumi new Kubernetes-python" throws an error while importing pulumi_gcp in the python file. Similarly, a project created through "pulumi new gcp-python" throws a module not found error for pulumi_kubernetes. Whereas I am supposed to use both. Any guide of where I am lacking?
r
You’ll have to install your other dependencies as you would ordinarily do with python projects:
Copy code
venv/bin/pip install pulumi-gcp
f
That didn't work either
r
Can you show what your file structure looks like? Are you using a virtual environment? What happens when you run that command?
It’s hard to know what’s going on with the information you’ve provided. But in general, python packages need to part of your environment if you’re going to use them in your program.