openai-quickstart-python icon indicating copy to clipboard operation
openai-quickstart-python copied to clipboard

Activating venv in Windows

Open deniz-tuncbilek opened this issue 2 years ago • 2 comments

Can the readme mention that the file path is venv/Scripts/activate, not venv/bin/activate in Windows?

deniz-tuncbilek avatar Mar 02 '23 09:03 deniz-tuncbilek

I agree that this is an issue that should be addressed.

yishairasowsky avatar Mar 07 '23 19:03 yishairasowsky

also i think it is

venv/Scripts/activate

instead of

. venv/bin/activate

yishairasowsky avatar Mar 07 '23 19:03 yishairasowsky

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

theo-armour avatar Aug 24 '23 04:08 theo-armour

Yes, I will update this to be more clear for windows users.

logankilpatrick avatar Feb 09 '24 16:02 logankilpatrick