requirements.txt - Use this to install all the packages needed to run SNAW
Setting Up a Python Virtual Environment with all Needed Python Packages Note: Anaconda is not compatible for this prerequisite.
- Install Python (version 3.7.4) from: https://www.python.org/downloads/release/python-374/
- Make sure Pip is up-to-date. Run command:
py -m pip install --upgrade pip
- Navigate to the directory where you would like to install the virtual environment.
- Run command py -m venv snaw (change ‘snaw’ to what you would like to name the virtual environment).
- Activate the environment by navigating to the file directory of your environment and running command:
.\Scripts\activate
- Verify that the virtual environment is running by looking on the left hand side of the bottom line. You should see the name of your virtual environment in parenthesis (Ex: (snaw) C:......)
- Visit SNAW’s ‘Installation_Requirements’ repository at: https://github.com/intelliChirp/Installation_Requirements
- Click the green ‘Clone or download’ button.
- Click on ‘Download ZIP’
- Copy requirements.txt file to your virtual environment directory.
- Navigate to your virtual environment’s directory.
- Type the command:
pip install -r requirements.txt
- Wait for the packages to install on your local machine.
- Done!
If you ran into trouble during the virtual environment setup, this website may be helpful: (https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)