Last active
          July 21, 2017 19:34 
        
      - 
      
- 
        Save smijar/f6dd37380596fef6257aac070b12c39c to your computer and use it in GitHub Desktop. 
    Installing python ML packages in a virtual environment on OS X
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | brew install numpy | |
| brew install scipy | |
| brew install matplotlib | |
| --- | |
| *VirtualEnv* | |
| $ mkvirtualenv ml | |
| $ cd .virtualenvs/ml/ | |
| $ ln -s /usr/local/lib/python2.7/site-packages/{numpy,scipy}* lib/python2.7/site-packages/ | |
| $ workon ml | |
| (ml) $ pip freeze | grep -i numpy | |
| (ml) $ pip install scikit-learn | |
| (ml) $ pip install tensorflow | |
| … | |
| … | |
| (ml) $ pip freeze | grep -i numpy | |
| (ml) $ deactivate (when done) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment