IT/Robot

iGibson

루벤초이 2023. 1. 2. 14:09

Miniconda cannot be used commercialy when upgrade its basic components. So I needed to install python3.8 and its libraries in Ubuntu 22.04.

Install Python 3.8 and iGibson

# Install Python 3.8 and libaries
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.8
sudo apt install python3.8-distutils
sudo apt-get install build-essential
sudo apt-get install python-dev
sudo apt-get install python3.8-dev
sudo apt install mesa-common-dev

# Set default python command (optional)
sudo update-alternatives --install /usr/bin/python python /usr/bin/pytho3.8 1

# Install igibson
python3.8 -m pip install -U pip
python3.8 -m pip install --upgrade pip setuptools wheel
python3.8 -m pip install igibson

# Reinstall numpy@1.20.3 if error is occurred
python3.8 -m pip install numpy@1.20.3 --upgrade

# Run
python3.8 -m igibson.examples.environments.env_nonint_example
iGibson screenshot
728x90
반응형