Closed shadowpants18 closed 4 years ago
In the base folder run pip install -r requirements.txt
that will install all the required dependencies globally.
I reinstalled everything by hand since -r requirements.txt kept failing. Also, on run_tacker.sh, what should I be putting for cs and source?
In the example:
cd /home/pi/AboveTustin
source py3/bin/activate
So cd
would be where you have the AboveTustin folder located, and the source is to activate the virtual env that should have been made.
So, basically,
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
if that fails python3 -m pip install -r requirements.txt
deactivate
run_tracker.sh
file edit the line cd /home/pi/AboveTustin
to match where the folder is locatedsource
line to match the location of the virtual environment is; eg /home/pi/AboveTustin/venv/bin/activate
chmod +x run_tracker.sh
(this makes the file executable, may require sudo
)config.sample.ini
file with cp config.sample.ini config.ini
Think that is everything.
great thank you so much!
I'm very new to coding, so maybe this is a dumb question, but I keep getting the error module not install - twitter, but I installed it through pip, and when I run pip list, twitter is on there. Also, are there installation instructions I can follow anywhere?