My system comes with Python 2.7.6 installed by default. I need to use v2.7.8 so I've installed it using pyenv:
pyenv install 2.7.8
and set it up as the local version in the folder where my code resides with:
cd /path_to_folder
pyenv local 2.7.8
After this, I installed all the necessary packages into v2.7.8 using pip install <package>
.
If I run:
$ cd /path_to_folder
$ python
I get the 2.7.8 version and I can run my code with no issues. But if I try to build my code within Sublime 3
using the SublimeREPL package I get the default 2.7.6 version where none of the packages are installed.
How can I force SublimeREPL
to build using the 2.7.8 version of Python I installed via pyenv
instead of the system default 2.7.6 version?