I then looked for the lastest version of python (version 3.6.5) and installed it using PyEnv, and switched the local and global environmenal settings to point to it. The steps as follows:Įcho ‘eval “$(pyenv init -)”‘ > ~/.bash_profile I’ve tried a number of approaches using VirtualEnv and found that PyEnv seems to do the job much better. ![]() I already had Homebrew installed, but incase you haven’t there is a tutorial on Installing Homebrew for Mac. There are numerous approaches to deploy multiple versions of Python to MacOS, so I’ve documented the approach I took.Ī big thanks to Chris Mendez, as my approach is based on his article: Installing Multiple versions of Python on Mac using Home-brew By default MacOS has Python 2.7 installed out of the box, however for my PhD project I am using a number of libraries that require Python 3.x.x.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |