Giter Site home page Giter Site logo

Comments (5)

charles-cooper avatar charles-cooper commented on July 20, 2024 1

It is documented: https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-global-advanced

i saw that, but it was not apparent that this step is required in order for the shims to work. maybe a debugging / FAQ type item could be added for those who run into the same issue?

from pyenv.

native-api avatar native-api commented on July 20, 2024

You have selected 3.12 as the global version, not 3.11:

+(/home/ubuntu/.pyenv/libexec/pyenv-version-file-read:6): VERSION_FILE=/home/ubuntu/.pyenv/version
<...>
+(/home/ubuntu/.pyenv/libexec/pyenv-version-file-read:28): read -n 1024 -r version _
+(/home/ubuntu/.pyenv/libexec/pyenv-version-file-read:29): [[ -z 3.12 ]]
<...>

from pyenv.

native-api avatar native-api commented on July 20, 2024

Note that if you need multiple versions available, you can select them all:

pyenv global 3.12 3.11

They'll be searched for the executable you're trying to run in the specified order.

from pyenv.

charles-cooper avatar charles-cooper commented on July 20, 2024

Note that if you need multiple versions available, you can select them all:

pyenv global 3.12 3.11

They'll be searched for the executable you're trying to run in the specified order.

aha, thanks. it would be helpful to document this! (also maybe the default for pyenv install should be to install into global.)

from pyenv.

native-api avatar native-api commented on July 20, 2024

aha, thanks. it would be helpful to document this! (also maybe the default for pyenv install should be to install into global.)

It is documented: https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-global-advanced

from pyenv.

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.