-
Activate your existing conda environment:
conda activate eye_repo
-
Verify Python version:
python --version # Should show: Python 3.10.19 -
Install/update dependencies:
pip install -r requirements.txt pip install -e . -
Verify pathlib is available:
python -c "import pathlib; print('OK')"
Important: Make sure your Jupyter notebook is using the eye_repo kernel:
-
Install ipykernel in the eye_repo environment:
conda activate eye_repo pip install ipykernel
-
Register the environment as a Jupyter kernel:
python -m ipykernel install --user --name eye_repo --display-name "Python (eye_repo)" -
In Jupyter/VS Code:
- Select the kernel: "Python (eye_repo)" or "eye_repo"
- In VS Code: Press
Ctrl+Shift+P→ "Python: Select Interpreter" → Choose theeye_repoenvironment
- Make sure you're using Python 3.4+ (pathlib is standard library)
- Check that you're in the correct conda environment:
conda activate eye_repo - Verify the interpreter:
which python(Linux/Mac) orwhere python(Windows)
- Reinstall the package:
pip install -e . - Check Python path:
python -c "import sys; print(sys.path)" - Verify the package is installed:
pip list | grep eye-tracking