Brew - install python3.3

I want to install a specific version of python version 3.3.

I tried:

brew versions no longer supported.

brew search python3 does not show python3.X version.

brew tap homebrew/versions does not work either.

How to install python3.3 on macosx using brew and I don't want to use pyenv .

+5
source share
1 answer

According to this answer

Uninstall python3 first

 brew uninstall python3 

Download this formula https://gist.github.com/booleangate/8f0bb23fdd53d699f763f0959c506049

Then go to the directory in which the formula was downloaded and enter into the terminal

 brew install --debug python33.rb 

From now on, if you want to run this version of python, you must enter in the terminal:

 07:03:17 $ python3.3 Python 3.3.6 (default, Jan 26 2016, 06:48:22) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> 2+2 4 >>> 3*3==9 True >>> 

Enjoy it!

+1
source

Source: https://habr.com/ru/post/1241375/


All Articles