Skip to content

Show how to use a virtual environment without activation - #2208

Closed
cloudgpuapp wants to merge 1 commit into
python:mainfrom
cloudgpuapp:docs/venv-without-activation
Closed

cloudgpuapp wants to merge 1 commit into
python:mainfrom
cloudgpuapp:docs/venv-without-activation

Conversation

@cloudgpuapp

@cloudgpuapp cloudgpuapp commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain what activation changes in the current shell and show the direct interpreter path on Unix/macOS and Windows. The rest of the guide still follows its existing activation workflow.

Related to #1344.

On macOS, I created a fresh virtual environment, left it unactivated, and used its Python to check pip, install an offline wheel, and import that module from the environment. The strict Sphinx HTML build passed. I did not run the commands on Windows.

AI assistance was used to prepare and test this documentation change.


📚 Documentation preview 📚: https://python-packaging-user-guide--2208.org.readthedocs.build/en/2208/

@rgommers

Copy link
Copy Markdown
Contributor

@brettcannon or @pradyunsg can you please ban this account?

@rgommers rgommers closed this Nov 24, 2026
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 this pull request may close these issues.

2 participants