No commit message authored by Doak, Peter W.'s avatar Doak, Peter W.
No commit message
# How to use Mac OSX for Scientific Computation # How to use Mac OSX for Scientific Computation
Homebrew ## Homebrew
iTerm2 ## iTerm2
Python ## Python
VirtualEnv Don't use the OS supplied python, you shouldn't be changing this one and you need to be able to control and update your Python environment.
PyCharm
I suggest getting python via miniconda and create environments for each project. This is related to the bloated anaconda installer but you choose what you install. I suggest a conda environment per project.
###IPython with framework python
Change your ipython launcher to read like this:
``` shell
#!/Users/epd/miniconda2/envs/{your_environment}/python.app/Contents/MacOS/python
if __name__ == '__main__':
import sys
import IPython
sys.exit(IPython.start_ipython())
```
## PyCharm
A Java based IDE for python. You can get fairly Emacs or VI editor bindings setup in it. Very helpful navigation, completion, and python debugger integration.