![]() Note: You can find outdated answers on the web where it is mentioned python3 as the formula name for installing Python version 3. ![]() The first is for Python 2 and the second for Python 3. There are two formulas for installing Python with Homebrew: and python. If you prefer to recover a previously installed version, then: brew info python # To see what you have previously installed To make a clean install of Python 3.6.5 use: brew unlink python # ONLY if you have installed (with brew) another version of python 3 brew unlink python # If you have installed (with brew) another version of python To bypass it, add the -ignore-dependencies argument to brew install. You may encounter Error: python contains a recursive dependency on itself: Or locally in a given directory: pyenv local 3.6.5Īs an update, when doing brew unlink python # If you have installed (with brew) another version of python To manage python version, either globally: pyenv global 3.6.5 I have found using the pyenv-installer easier than homebrew to install pyenv and pyenv-virtualenv direclty: curl | bash See pyenv and pyenv-virtualenv for more info. ![]() To manage virtualenvs: brew install pyenv-virtualenv So having homebrew installed, juste do: brew install pyenv Finally I have used pyenv and it worked directly like a charm. I have tried everything but could not make it work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |