none
none

Reputation: 275

Python interpreter path search order on windows

Many applications include a python interpreter, so now when I try to run a program, Subversion's 2.5 interpreter is used to execute it. I've already changed environment path order, putting subversion's last. Now when I run python from command line, the 2.7 is run, but when I pass the script's filename, version 2.5 seems to be running it, as a few exceptions reveal the path.

So specifically, python 2.7 tries to imports module from subversions path.

Upvotes: 0

Views: 468

Answers (2)

Jonno_FTW
Jonno_FTW

Reputation: 8809

If you are having problems with PATH in windows, set the one you want to use at the start of the path variable. Plus, you might want to use User variables instead of system ones.

But I don't know if that answers your question because you didn't really ask anything.

Upvotes: 0

none
none

Reputation: 275

PYTHONHOME was set to Subversion's python path. System Properties>Advanced tab>Environment Variables System Variables Delete entry.

I don't know yet if this causes problems for subversion.

Upvotes: 2

Related Questions