Initial setup for our Network/IRC Bot Tutorial.
In your terminal, let’s navigate to your projects directory setup from earlier:
$ cd # brings you to your 'Home' directory $ cd new-coder/network
Make a new virtual environment specific to your network project project:
$ mkvirtualenv NetworkProj
You should now see
(NetworkProj) before your prompt. Now, from within the
new-coder/network directory, run the following to install package requirements with the following command for this project:
(NetworkProj) $ pip install -r requirements.txt
Your virtual environment will store the required packages in a self-contained area to not mess up with other Python projects.
Lastly, navigate to your project workspace that you setup earlier from the machine setup:
(NetworkProj $ cd .. (NetworkProj $ cd network_workspace
Now you’re ready to move onto the next part.