This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Developer Setup
Kell edited this page Jan 1, 2023
·
9 revisions
- Install Python 3.10 (newer versions are not compatible)
- Clone/download this repository
- Open the project folder in your IDE (VS Code preferred)
- Open the repository folder in a terminal window
- Create a virtual environment
python -m venv env
orpy -m venv env
if you have multiple versions of Python installed - Activate the newly created virtual environment
.\env\Scripts\activate
- Install the dependencies
pip install -r requirements.txt
- Create a virtual environment
- Run
./src/OSBC.py
(may need to restart IDE for it to recognize installed dependencies)
Please only use Linux if you know what you're doing. OSBC has only been tested in Ubuntu v22.04.
- Make sure your GNOME display server is running Xorg. See here for instructions.
- You may need to run
sudo apt-get install xorg-dev
- You may need to run
- Run the following commands:
sudo apt update
sudo apt install build-essential
-
sudo apt install python3-dev
(ensure Python 3.10 is installed)
- Clone the repository and navigate to the project folder in your terminal. Run the following commands:
- Create a virtual environment
python3 -m venv env
- Activate the virtual environment
. env/bin/activate
- Install the dependencies
pip install -r requirements.txt
- Create a virtual environment
- Run
./src/OSBC.py
- If you encounter a Tkinter error, run
sudo apt install python3-tk
- If you encounter a Tkinter error, run