Skip to main content

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

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:

  1. Delete the Existing Environment:
    First, remove the existing win_sensor environment:

    conda env remove -n win_sensor
  2. Recreate the Conda Environment:
    After deleting the environment, recreate it using the environment.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