emacs 24: how/when do I load python-mode.el?
I am using emacs 24 on Windows.... And having a hard time figuring out when or how to load python-mode.el. I am a python newbie.
I installed python-mode.el with elpa, and apparently that gives me py-version 6.0.3.
Basically, I want to get to the point where when I start emacs, I can use py-shell to get me an interactive python shell.
It seems that installing python-mode with elpa is not sufficient, because if I do no more than install python-mode with elpa, than the function py-shell is not defined.
And so in my .emacs I have
(require 'python-mode)
But when I do this, my .emacs fails as python-mode cannot be found on a load path.
It seems, and I don't know why, that elpa loads packages AFTER .emacs has been loaded. So given that, I am unsure what I can do in .emacs to ensure that later on I can type m-x py-shell to start a shell.
So... Can you help?
Thank you,
Jerry
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Andreas Roehler
- Solved:
- Last query:
- Last reply: