Overview
This section provides troubleshooting tips for the Windows Interaction Sensor application. If you encounter any issues during installation, configuration, or while running the application.
Troubleshooting
Common Installation Issues
-
Dependency Installation Errors:
-
If you encounter issues while installing dependencies, make sure that
pipenv
is installed and that you're in the correct Conda environment (win_sensor
). To verify you're in the right environment, run:conda info --envs
Ensure
win_sensor
is active.
-
-
Missing Python:
-
If you get an error about Python not being found, check that you have Python 3.12 installed in the
win_sensor
environment by running:python --version
-
Logging Issues
- Check Logs:
-
If something goes wrong while running the application, check the log files for detailed error messages. By default, logs are stored in the
logs/
directory.You can view them by navigating to:
cd path/to/windows-interaction-sensor/logs
-
Error with Python Version
-
Make sure you're using Python 3.12 in the
win_sensor
Conda environment. Check the version by running:python --version
Common Commands
Activate Conda Environment
conda activate win_sensor
Deleting and Recreating the Conda Environment
If you need to delete and recreate the win_sensor
Conda environment, follow these steps:
-
Delete the Existing Environment:
First, remove the existingwin_sensor
environment:conda env remove -n win_sensor
-
Recreate the Conda Environment:
After deleting the environment, recreate it using theenvironment.yml
file:conda env create -f environment.yml
Run the Application
Navigate to the app/
directory and run the application:
cd path/to/windows-interaction-sensor/app
python main.py
Stop the Application
Press Ctrl + C
in the terminal window where the application is running.
Exit the Conda Environment
To deactivate the win_sensor
environment, run:
conda deactivate