I decided to use pipenv because I find the installation of dependencies and its app setup very easy and convenient.
- Install pipenv
pip install pipenv
- Install the dependencies:
cd <project_dir> pipenv install --three
If you are not already in the app
directory:
cd <project_dir>
In this moment you have two options to run the app:
Activate the pipenv shell and run the python file.
pipenv shell
python *.py
or as an alternative, you can try this:
pipenv run python *.py
- Oscar Pacheco - Backend Developer