linux/windows venv build comms
This commit is contained in:
@@ -8,12 +8,29 @@
|
|||||||
- **Python packages**: At minimum the project uses `numpy`, `pygame`, `ikpy`, `pybullet`, `pyserial`, and `matplotlib`.
|
- **Python packages**: At minimum the project uses `numpy`, `pygame`, `ikpy`, `pybullet`, `pyserial`, and `matplotlib`.
|
||||||
- **Install** (recommended inside a venv):
|
- **Install** (recommended inside a venv):
|
||||||
|
|
||||||
|
Linux / macOS (Bash):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m venv .venv
|
python3 -m venv .venv
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
pip install numpy pygame ikpy pybullet pyserial matplotlib
|
pip install numpy pygame ikpy pybullet pyserial matplotlib
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Windows (PowerShell):
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
python -m venv .venv
|
||||||
|
.\.venv\Scripts\Activate.ps1
|
||||||
|
pip install numpy pygame ikpy pybullet pyserial matplotlib
|
||||||
|
```
|
||||||
|
|
||||||
|
If PowerShell blocks activation, run:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
|
||||||
|
.\.venv\Scripts\Activate.ps1
|
||||||
|
```
|
||||||
|
|
||||||
**Quick Start**
|
**Quick Start**
|
||||||
- **Simulation**: enable the simulator in `config.py` by setting `sim = True`, then run:
|
- **Simulation**: enable the simulator in `config.py` by setting `sim = True`, then run:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user