https://pulumi.com logo
#general
Title
# general
q

quick-airport-30353

03/18/2022, 2:48 PM
does anyone know how to fix my issue? I'm on Windows 10, using PowerShell. I installed Python and Pulumi via Chocolatey. When I do a
pulumi up
I get this error:
Failed to resolve python version command: exit status 103
c

calm-jackal-58777

03/18/2022, 2:54 PM
You might need to sign out and in again so python is available on your path
or use
refreshenv
Something like that
q

quick-airport-30353

03/18/2022, 3:01 PM
yeah I tried refreshenv and restarting. Also if I type in python in Powershell, it launces the REPL
e

echoing-dinner-19531

03/18/2022, 3:03 PM
Can you run
python --version
?
q

quick-airport-30353

03/18/2022, 3:10 PM
I get Python 3.10.2
e

echoing-dinner-19531

03/18/2022, 3:17 PM
Do you have a virtual env present?
a

agreeable-king-2755

03/18/2022, 4:23 PM
I've noticed that if you delete the
venv
accidentally, pulumi would recreate it if you run a command, e.g.
pulumi about
(on Linux, at least)
4 Views