nicholaskajoh / ivy

Video-based object counting software.
MIT License
428 stars 170 forks source link

raise Exception('One or more environment variables are either invalid or not set. ' + Exception: One or more environment variables are either invalid or not set. Please ensure all variables are properly set. #52

Closed NewPenguin closed 4 years ago

NewPenguin commented 4 years ago

Hi, Pardon my weakness in understanding. i was attempting to run python -m main as stated in the page. But i gotten this error, may i know more about it and how to solve it? image

nicholaskajoh commented 4 years ago

Hey @NewPenguin! You need to load the required environment variables. Please see .env.example.

ha-daiy commented 2 years ago

In the root directory, I rename the file .env.example to .env by using the following command: mv .env.example .env. The error disappeared.