Sublime Forum

How to force SublimeText to use its own Python?

#1

Windows Vista.

I have Python 2.7 installed.

When I try to run Sublime Text 1.4, or 1.4 portable, or 2 beta, I get:

"Unable to run package setup:

(lots of stuff deleted, but you can see it’s hitting the Python 2.7 libs)

TypeError: cannot create weak reference to ‘classobj’"

So it’s running my installed 2.7 version, instead of the Python 2.6 in its own folder.

Any way to fix this without breaking my own python scripts? Environment variables? Command line switches?

Thanks,

jtm

0 Likes

#2

I have the same problem

0 Likes

#3

I never experienced this problem and I’m not sure this is would a solution to it, but check this out:

0 Likes

#4

Thanx guillermooo!

I’ll check the solution that you post and make a feedback

Cheers

Franco

0 Likes

#5

Works like a charm in windows 7 64 bit

Best regards

Franco

0 Likes