Dan Rasmuson
Dan Rasmuson

Reputation: 6023

sublime text 3 use python 3.3 as compiler

Just purchased sublime 3. I'm wondering how I can compile in python 3 and not in python 2.

When I execute

import sys print(sys.version)

I receive "2.7.3 |EPD_free 7.3-2 (32-bit)| (default, Apr 12 2012, 14:30:37) [MSC v.1500 32 bit (Intel)]"

I've been stuck for the last 2 or 3 hours. I know it has something to do with builds but it just doesn't seem to be clicking.

Any help would be greatly appreciated. Thanks!

Upvotes: 2

Views: 2594

Answers (1)

schlamar
schlamar

Reputation: 9511

The Sublime Text Python builder uses the Python executable found in your PATH.

Instructions for Windows could be found here: http://pythoncentral.org/how-to-install-python-2-7-on-windows-7-python-is-not-recognized-as-an-internal-or-external-command/

Upvotes: 1

Related Questions