-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Troubleshooting
Frama-99 edited this page Oct 17, 2020
·
3 revisions
- "Python 3.8 is not found on your system" when running
pipenv install
orpipenv shell
.- Follow instructions online to install python3.8 for your system. Run
python --version
in the shell to check your python version. If this is not 3.8.x, trypython3 --version
. If you see 3.8.x for either of these, then you have the correct Python version.
- Follow instructions online to install python3.8 for your system. Run
- Missing Python dependency/"Module not found"
- Check that you are in the correct pipenv environment. If you are, (TUTV) should appear at the very start of every terminal prompt.
- Check that you have the correct dependencies installed. Rerun
pipenv install
and see if that fixes the issue. - If all fails, first quit the pipenv environment with
exit
then remove it withpipenv --rm
. Then reinstall dependencies withpipenv install
.
- "
SECRET_KEY
setting must not be empty"- You need a
.env
file in the project's that specifies the environment variables. Reach out to me about what to put in this file. - Make sure that after you place the
.env
file into the project root, you quit the currentpipenv
environment withexit
and reenter it withpipenv shell
- You need a
- Error with psycopg2 when running
pipenv install
- This is expected. psycopg2 is a PostgreSQL database adapter and it will fail to install if you don't have PostgreSQL on your system. We aren't using PostgreSQL yet (we will eventually) so this package is not required at the moment.
- "You have _ unapplied migrations"
- Follow the instructions in the warning message to fix this
- Missing JavaScript dependency
- Run
yarn install
in the project root to fill in any missing dependencies. - If this doesn't work, delete the
node_modules
folder and try runningyarn install
again.
- Run
- Make sure that you have the most up to date
master
branch by runninggit fetch
thengit pull
.