Skip to main content

Troubleshooting — Environment Setup

External Terminal Not Opening

Complete installation manually in a terminal:

# Install Miniconda (if needed)
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
conda config --set auto_activate_base false

# Create environment
conda create -n <env_name> python=3.10
conda activate <env_name>

# Audio/Gesture
./install.sh --all

# Image
pip install ultralytics torch torchvision onnx onnxruntime opencv-python numpy matplotlib scikit-learn

Model Generator v1.15.0 Error — ml_dtypes / ONNX

AttributeError: cannot import name 'float4_e2m1fn' from 'ml_dtypes'

Fix:

conda activate <env_name>
pip uninstall -y onnx ml_dtypes numpy
pip install numpy==1.23.5 onnx==1.13.1 ml_dtypes==0.2.0
TIP

If errors persist, verify that your Python version is 3.9 or 3.10.