Comments (5)
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.
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.
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.
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.
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)
- New release? (2.3.37) HOT 4
- Anaconda 2024.02-1
- Build failed at interpreteridobject.c:109:40 (macOS / arm64 / clang) HOT 2
- persistent SSL_get_peer_certificate when building Python 2.7 HOT 9
- running a python script in a pyenv environment with sudo or withing a systemd service HOT 2
- Custom manual installation within a dedicated 'build' directory, in a proot-distro alias of Debian chroot, in a Termux host environment: require `make install` instructions, post-successful BAT test, and successful custom make HOT 1
- PyPy 7.3.16? HOT 4
- /usr/bin/env: ‘bash\r’: Permission denied HOT 3
- Python 3.12 cannon install on arch linux, please advise: "/usr/include/asm/sigcontext.h:77:2: error: unknown type name '__uint128_t'" HOT 10
- Python 3.12.3 not available in install list HOT 1
- latest python version not listed on Pyenv for mac os HOT 5
- Documentation improvement suggestion: Add a brief note about how to install PyPy, or link to a list of available Python distributions from the Readme HOT 5
- Trivy scan errors with pyenv installation in Dockerfile HOT 4
- support mainland-china network env HOT 10
- Python-build not in sync with cpython releases HOT 2
- Feature request: when uninstalling python version the patch version could be not specified HOT 7
- Python 2.7.18 install fails on Mac OS X Sonoma (14.5) HOT 12
- python3.12.3 install in linuxmint failed: "error: ‘I_PUSH’ undeclared" HOT 7
- Adapt to executable naming in the free-threaded build HOT 4
- pyenv versions not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyenv.