python interpreter fails to start
Hi,
I started using python-mode 6.1.3 on centos 6. By running command M-x python2.7 to launch the python interpreter, I got the following error shown in buffer *python2.7*.
Process python2.7 exited abnormally with code 2
Unknown option: --
usage: /usr/local/
Try `python -h' for more information.
By running command M-x py-shell, I am able to get a working buffer *ipython* running python 2.7. However, when I try to run py-execute-region on a selected python code snippet, the command doesn't send the region to the ipython buffer. Instead, I got a buffer *python* with the following error message.
Process python exited abnormally with code 2
Unknown option: --
usage: /home/me/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
Process python exited abnormally with code 2
/home/me/bin/python is a symbolic link I created to for /usr/local/
Please advise.
thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by bootboy
Can you help with this problem?
Provide an answer of your own, or ask bootboy for more information if necessary.