-
Notifications
You must be signed in to change notification settings - Fork 1
Debug on your personal computer
In order to debug the code on your personal computer, you'll still have to connect to the PreEpiSeizures WIFI (hosted by EpiBOX Core) but you'll also have to stop the PyEpiBOX running on EpiBOX Core. Here's how:
-
On you terminal, open a connection to EpiBOX Core:
ssh [email protected]
-
Input the password preepiseizures
-
Type the following and input the same password:
systemctl stop epibox
-
You should get the output
==== AUTHENTICATION COMPLETE ===
-
Clone or fork the repository
-
Create an environment (e.g. using conda or venv) and activate it
-
Install the local version of PyEpiBOX:
pip install -e .
-
Run:
python -m epibox
If you get an incompatibility warning after making a change in your code, you'll have to bump up the code version by running:
bump
Alternatively, you can run:
pip uninstall epibox
pip install -e .
How to deal with the following error when installing pybluez2:
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
running egg_info
creating C:\Users\anaso\AppData\Local\Temp\pip-pip-egg-info-zpfr7njx\pybluez2.egg-info
writing C:\Users\anaso\AppData\Local\Temp\pip-pip-egg-info-zpfr7njx\pybluez2.egg-info\PKG-INFO
writing dependency_links to C:\Users\anaso\AppData\Local\Temp\pip-pip-egg-info-zpfr7njx\pybluez2.egg-info\dependency_links.txt
writing eager_resources to C:\Users\anaso\AppData\Local\Temp\pip-pip-egg-info-zpfr7njx\pybluez2.egg-info\eager_resources.txt
writing top-level names to C:\Users\anaso\AppData\Local\Temp\pip-pip-egg-info-zpfr7njx\pybluez2.egg-info\top_level.txt
writing manifest file 'C:\Users\anaso\AppData\Local\Temp\pip-pip-egg-info-zpfr7njx\pybluez2.egg-info\SOURCES.txt'
error: package directory 'bluetooth\windows' does not exist
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Downgrade to python 3.9