I just started using Sublime Text 2 and was wondering, to sort of make it a full featured python IDE, if there was a way to change the integrated python interpreter to target the system python install rather than the one that came with Sublime. The reason is because I would like to use my python libraries that I have on my computer with the python interpreter.
I am aware of running python code in sublime using my version of python as explicitly shown here: How do I run Python code from Sublime Text 2?
However, this does not change the version of the python interpreter that you are running.
Any ideas?
["/Library/Frameworks/Python.framework/Versions/Current/bin/python"
since I have many python version :(, when I try to run the program on shell, it runs fine, but with sublime, I seeprint soup.prettify() UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 6231: ordinal not in range(128)
, My code is#! /usr/bin/env python import urllib2 from bs4 import BeautifulSoup f = urllib2.urlopen('http://www.google.com') soup = BeautifulSoup(f.fp) print soup.prettify()
– Klagenfurt