Create a Virtual Environment... WHY?
You want to save your packages and be able to transfer them over to
other machines
Here's how to do it:
- Open a command line
- Go into this folder
- Look for an
.envfolder usingls
python -m venv env
. ./env/bin/activate
deactivate
pip install -r requirements.txt
x
You can find package names at the following website pypi
** Warning don't just go installing any packages. Please google/reddit packages before installing **
pip install <package-name>
pip install pandas
pip install requests
Whenever you add new packages using pip install
you need to save your packages using the following in the terminal:
pip freeze > requirements.txt
A shortcut has been created for you to setup quickly. Run the following:
./bootstrap