Coder Social home page Coder Social logo

Comments (8)

deuberger avatar deuberger commented on June 25, 2024 1

@nineteendo I wondered about that and I think yes it is partially redundant, but not entirely. How about:

venv will install the Python version from which the command was run. For instance, running python3.8 will install version 3.8 specifically whereas running just python or python3 might install any number of versions. See the Python Setup and Usage documentation for additional details.

I'd be fine reducing it to just the first sentence as well, but new users may find the additional information helpful.

from cpython.

deuberger avatar deuberger commented on June 25, 2024 1

Sorry, for the slow response. I thought of adding --version too, but thought it might be too much with what I had before. I like the suggestion from @nineteendo, but also propose the below slightly more verbose option that might add a little more clarity:

venv will install the Python version from which the command was run (as reported by the --version option). For instance, excuting the command with python3.8 will install version 3.8.

from cpython.

nineteendo avatar nineteendo commented on June 25, 2024

If you have multiple versions of Python on your system, you can select a specific Python version by running python3 or whichever version you want.

Isn't this a bit redundant then?

from cpython.

nineteendo avatar nineteendo commented on June 25, 2024

How about mentioning python -V? As it tells you which version will be installed. Or python --version

from cpython.

anushatomar13 avatar anushatomar13 commented on June 25, 2024

Hi @nineteendo ,
Have you reached a final conclusion on this issue yet?
If yes, can I take up this issue and start working on it?

from cpython.

nineteendo avatar nineteendo commented on June 25, 2024

I think this should be clear enough:

venv will install the Python version shown for --version. For instance, excuting the command with python3.8 will install version 3.8.

from cpython.

nineteendo avatar nineteendo commented on June 25, 2024

Looks good, feel free to create a pull request.

from cpython.

nineteendo avatar nineteendo commented on June 25, 2024

Although, it might be more relevant to mention 3.12 or 3.13?

from cpython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.