![]() ![]() 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. How to create
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |