0

If I rename the python interpreter from C:\Python27\python.exe to C:\Python27\python27.exe and run it, it will not complain.

But if I now try to run C:\Python27\Scripts\ipython.exe, it will fail to start because now the python interpreter has a different filename.

My question is: how do I configure IPython (ms windows) to start up a python interpreter which has a different filename than python.exe?

4 Answers 4

1

Try to find Python in windows registry and changes path to python. After that try to reinstall ipython.

Sign up to request clarification or add additional context in comments.

1 Comment

nope... doesn't work. maybe i didn't changed the exact key, do you know which key needs to be updated?
0

I do not know if there is a config file where you can change, but you may have to recompile Ipython and change the interpreter variables. But why do you need to rename it to python27.exe when it already is in a python27 folder?

Comments

0

instead of renaming python.exe, make sure the path to the python you want to run is before the path to other pythons

Comments

0

Found a solution: python27.exe c:\Python27\Scripts\ipython-script.py

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.