Last active
November 3, 2023 19:05
-
-
Save Arqentum/4b90ccb6d9f1803ec1231afb42ee3537 to your computer and use it in GitHub Desktop.
#Python #PYENV create alias activate version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PYENV_PYTHON_VERSION=3.8.18 | |
VENV_NAME=revrec-airflow-3.8 | |
pyenv install $PYENV_PYTHON_VERSION | |
pyenv virtualenv $PYENV_PYTHON_VERSION $VENV_NAME | |
pyenv activate $VENV_NAME | |
#Switch between Python versions | |
#To select a Pyenv-installed Python as the version to use, run one of the following commands: | |
pyenv shell <version> -- select just for current shell session | |
pyenv local <version> -- automatically select whenever you are in the current directory (or its subdirectories) | |
pyenv global <version> -- select globally for your user account | |
# in Pycharm - add new interpreter and open new console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment