Skip to content

Instantly share code, notes, and snippets.

View jozcar's full-sized avatar

Hector Pacheco jozcar

  • United States
View GitHub Profile
@jozcar
jozcar / setting_python3_on_mac
Last active February 26, 2019 01:48
Using Python 3 on a mac
1. use brew to install it :
> brew install python
2. this installs python3 however it did not link it got the following error:
Linking /usr/local/Cellar/python/3.7.2_2... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
the user here was that there was no Frameworks directory under /usr/local, I use the following to fix this:
> cd /usr/local
> sudo makedir Frameworks
> sudo chown $(whoami):admin /usr/local/Frameworks
> brew link python
3.getting pip install ( for me this was not install, the following work,i also needed to set path to call pip)