- SUBLIME TEXT BUILD SYSTEM PYTHON NOT WORKING HOW TO
- SUBLIME TEXT BUILD SYSTEM PYTHON NOT WORKING CODE
- SUBLIME TEXT BUILD SYSTEM PYTHON NOT WORKING MAC
SUBLIME TEXT BUILD SYSTEM PYTHON NOT WORKING CODE
SSCCE Keep your code Short, Self Contained, Correct (Compilable) and provide Example Your code is hard to read and test otherwise.īe sure to try out suggestions you get and report back. Proofread your answers for clarity and correctness.įormat your code for reddit or use a site like github or pastebin. Try to guide OP to a solution instead of providing one directly.Īnswer the question and highlight side-issues if any exist.ĭon't "answer and run", be prepared to respond to follow up questions. r/Python /r/madeinpython /r/programmingbuddies /r/pythontips /r/flask /r/django /r/pygame /r/programming /r/learnprogramming /r/dailyprogrammer Guidelines Commenting
SUBLIME TEXT BUILD SYSTEM PYTHON NOT WORKING HOW TO
Guide on how to join and different IRC clients: /wiki/IRCĪll learning resources are in the wiki: /r/learnpython/w/indexįrequently Asked Questions: /r/learnpython/w/FAQ Join us in the IRC channel: #learnpython on libera.chat Reddit rules These apply also on this subreddit.Posting screenshot of the code is (generally) not allowed.Posting only assignment/project goal is not allowed.Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Rule 3: No recruiting/hiring/seeking others posts.
SUBLIME TEXT BUILD SYSTEM PYTHON NOT WORKING MAC
I've set my mac up to use Sublime Text from the command line. We all have projects that aren't finished and this helps me by eliminating wondering what versions things are at. Once again, I do this so that I can differentiate multiple projects and versions. I create the project on github so that I could use there basic python template and github actions. In this case, I've got a new python project that I created on github. Hopefully everything installed cleanly or at least gave an error on why it didn't work. I read about it done this way because it forces the environment to place the needed libraries within the correct site-packages folder. I think this is pretty important as python 2 is moving to end of life. You want to make absolutely sure that this is using the virtual env's python and not your system's. Check that the environment is pointing to the correct version of python This is just a convinence for me, but I've seen tutorials on how to make it so the virtual environment is brought up when you switch to the directory. I make my virtual environments switch to the project directory that I'm working in when activated. I like to read over it and it acts as a double check that it was generated correctly.
I like to make sure that I have everything in it's own place so I don't have to think about where stuff is. Once again, I place this in my home project directory. Create a directory for this specific project. I don't understand the convention of having a script without the file extension. Test that the activate really worksĦ0% of the time it works all the time. Note: My Virtualenv isn't in a hidden directory. While I'm in that directory I check the versions of pip and python as well. I currently see a problem where this script doesn't execute properly. I like to make sure that it's setting up my expected version of python during this step.
Make sure that the environment is set up without errors All the projects that I'm currently working with are using virtualenv because they are supporting python 2 1. I use the mkvirtualenv wrapper scripts to make the virtual environment. This way applications like Timing can track that I'm being productive in my chosen terminal application. I like to keep all my projects in a parent folder. Hopefully someone else will find this information helpful as well. I thought I'd document what I've learned about setting up Sublime Text 3 to work with a python virtual environment so that I don't have to look this up multiple times.