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

brash-restaurant-84207

09/28/2022, 1:47 PM
@lively-france-83054 does that assume I'm using virtual environment?
b

billowy-army-68599

09/28/2022, 1:48 PM
Pulumi creates a venv for you automatically, check your
Pulumi.yaml
b

brash-restaurant-84207

09/28/2022, 1:51 PM
ok, but that path doesn't exist
b

billowy-army-68599

09/28/2022, 1:53 PM
which path? the venv is there.
have you tried running the command?
b

brash-restaurant-84207

09/28/2022, 1:54 PM
yes, but there is no subdir bin
'The system cannot find the path specified'
b

billowy-army-68599

09/28/2022, 1:56 PM
try
virtualenv venv
b

brash-restaurant-84207

09/28/2022, 1:59 PM
'virtualenv' is not recognized as an internal or external command, operable program or batch file.
b

billowy-army-68599

09/28/2022, 2:24 PM
okay, you appear to have issues with your python installation
l

lively-france-83054

09/28/2022, 2:31 PM
python3 -m venv venv
should work also
b

brash-restaurant-84207

09/28/2022, 2:33 PM
yes, in the end I found an article recommending to add it to the requirements.txt file and run:
python -m venv venv && venv\Scripts\pip install -r requirements.txt
thanks!
2 Views