Skip to content

Missing command to create Python virtual environment on Windows OS #15

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
Menghua1 opened this issue Apr 3, 2025 · 1 comment
Closed
Assignees

Comments

@Menghua1
Copy link

Menghua1 commented Apr 3, 2025

Description:
On Windows, running the command source .venv/bin/activate fails with the following error:
Image

Repro Steps:

  1. Run git clone https://github.com/neondatabase-labs/rag-neon-postgres-openai-azure-python.
  2. Run cd rag-neon-postgres-openai-azure-python.
  3. Run python3 -m venv .venv.
  4. Run source .venv/bin/activate.

Environment:

  • Azd version: azd version 1.14.0 (commit c928795c47f27d1e997c217147dc649054ac05c8)
  • OS: Windows

Expected behavior:
Successfully activated the python virtual environment on Windows OS.

Suggestion:
Add the command .\.venv\Scripts\activate for Windows environment in Readme.md.

@Boburmirzo and @hemarina for notification.

@Boburmirzo
Copy link
Contributor

@Menghua1 Thanks for the suggestion! I added the commnd it for Windows as well.

be52813

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

No branches or pull requests

2 participants