Activating venv in Windows
deniz-tuncbilek opened this issue · 4 comments
deniz-tuncbilek commented
Can the readme mention that the file path is venv/Scripts/activate, not venv/bin/activate in Windows?
yishairasowsky commented
I agree that this is an issue that should be addressed.
yishairasowsky commented
also i think it is
venv/Scripts/activate
instead of
. venv/bin/activate
theo-armour commented
On Win11, using a GIT bash terminal, with Python already installed and the https://github.com/openai/openai-quickstart-python cloned, this script worked:
$ python -m pip install --upgrade pip
$ pip install openai
$ pip install flask
$ pip install dot-env
$ python -m venv venv
$ venv/Scripts/activate
$ pip install -r requirements.txt
$ flask run
It would be good to update the readme here: https://github.com/openai/openai-quickstart-python
logankilpatrick commented
Yes, I will update this to be more clear for windows users.