Skip to content

Some wrong commands in Windows #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NanaXiong00 opened this issue Jan 5, 2024 · 0 comments · Fixed by #13
Closed

Some wrong commands in Windows #9

NanaXiong00 opened this issue Jan 5, 2024 · 0 comments · Fixed by #13

Comments

@NanaXiong00
Copy link

Describe the issue:
Because the package download command is missing in README.md, the following error occurs when running python -m virtualenv venv in Windows.
image

Suggestion:
image
Add command pip install virtualenv.

Describe the issue:
source runs on Linux. In Windows, we should run venv\Scripts\activate to activate a virtualenv.
image
Suggestion:
Update command to venv/Scripts/activate.

Describe the issue:
In Windows, we should use setx to edit environment variables instead of using export in this following places.
image

Suggestion:
image
Add the following description in the location shown above.

  • Note - In Windows, we use setx command shown below:
setx FLASK_APP app.py
setx FLASK_ENV development
setx FLASK_DEBUG true

@john0isaac and @hemarina for notification.

@john0isaac john0isaac linked a pull request Jan 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant