xero-python-oauth2-starter icon indicating copy to clipboard operation
xero-python-oauth2-starter copied to clipboard

source venv/bin/activate fails on windows

Open hohums12 opened this issue 3 years ago • 1 comments

How do I setup the environment on windows? The documentation seems not specify how to run "source venv/bin/activate" on windows and "source venv/bin/activate" returns:

The term 'source' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I also tried:

venv\bin\activate.bat

hohums12 avatar Sep 03 '22 19:09 hohums12

I tried venv\Scripts\activate.bat and that seemed to work. Maybe update the documentation to include the windows version.

hohums12 avatar Sep 03 '22 19:09 hohums12