In VSCode I'm editing .py files using virtual environment I created with pipenv
. My project folder contains Pipfile and Pipfile.lock. Before I was able to execute my .py files properly with this virtual environment, with a command pipenv run...
. However when I closed and restarted VSCode, I can no longer execute the files. The error I'm encountering is:
>>> pipenv run python python_codes/prepare_data/prepare_data.py
zsh: command not found: pipenv
I vaguely remember that before when it was working, the selected shell was not zsh... But I don't remember which one was selected. And i cannot select other shells for some reason(there is only zsh option). Anybody has an idea about how to solve this? I'm a noob to VSCode.
VSCode Version: 1.45.1