![]() Third: Select your new system build newPython3 and re-run the checkversion. UNIX STYLE Īnd save this file as newPython3.sublime-build Tools -> Build System -> New Build System and make sure that the new build system has this following command Second: Add new build system on your Sublime > import os > import sys > os.path.dirname(sys.executable) 'C:\\Users\\\\AppData\\Local\\Programs\\Python\\Python37-32' UNIX STYLE $ which python3 /usr/local/bin/python3 ![]() Here’s the step:įirst: Check where is your Python3 path using this command Location to save the build file on macOS: /Library/Application Support/Sublime Text 3/Packages/User/python3.sublime-build Share Follow edited at 19:12 answered at 18:49 wim 323k 97 584 719 1 Emma You may have needed to restart Sublime to get it to work again. Then we can set the Sublime Text to use Python3 instead of Python2. As you see, the version on the sublime is Python 2.7 we need to use Python 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |