Repository navigation
Update how to guide to install using pip and venv - #1338
Conversation
|
It seems that this page: and this page: https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/ are mostly duplicates. Right? Of course feel free to improve them without merging them, I just wanted to point out that they could/should probably be. |
Could these parts be updated as well? They are incorrect and actively misleading, leading to a lot of misunderstandings. A virtual environment can be used without activation. It depends on how / which pip is used. It would be fantastic if this guide could explain that in slightly more detail: Explicitly explain that activating is only (one way of) putting the the virtual environment-specific
|
That is true. One is a tutorial and this is the guide. According to Diataxis doc process, the guide is focused on one thing. I'm not updating the tutorial now but it can incorporate or refer to this after being merged. |
Let me think about this a bit more. I think what you raise is interesting but perhaps belongs in a new Discussion/Explanation document instead of a "How To" guide. https://diataxis.fr/ I think that taking @Kwpolska's suggestion to rename the guide to "Install packages into a virtual environment using pip and venv" will help. |
This comment was marked as resolved.
This comment was marked as resolved.
It seems to work for me, in both cmd and PowerShell: |
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: sinoroc <5529267+sinoroc@users.noreply.github.com>
Co-authored-by: sinoroc <5529267+sinoroc@users.noreply.github.com>
1a89623 to
6e705b6
Compare
|
I believe that I have addressed all feedback. Thanks for all of the reviews. |
Co-authored-by: chrysle <fritzihab@posteo.de>
|
I think it can be merged as is... I wonder though if it would not be better to have 3 tabs all the way. Sometimes unix and mac are merged into 1 tab sometimes not. So the auto switch of all tabs throughout the page does not work as expected. |
|
Maybe link to the
I think this has been fixed recently? Add least I couldn't find examples any more... |
The "Prepare pip" section has 3 tabs. |
|
I'm going to go ahead and merge this. I appreciate all of the reviews and suggestions. Let's continue to iterate in separate PRs. ☀️ |
This PR makes the following updates:
envenvironment name to.venvwhich is more commonly used and less likely to be confused with environment variablesI view this PR as one of iteration of future iterations to improve individual documents in the guide.