Following this for my ~/.pystartup and adding export PYTHONSTARTUP="~/.pystartup"
to my .bash_profile. After I open a new terminal, and fire up python I get
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Could not open PYTHONSTARTUP
IOError: [Errno 2] No such file or directory: '~/.pystartup'
~/pystarup definitely exists. I also would like vi key bindings and when I put set editing-mode vi
in my ~/.inputrc, I still do NOT get the appropriate bindings.
I am working on OSX 10.10.5. How do I fix these issues?