roboticslab-uc3m / docker-opensim-gui

A Docker image to use OpenSim in Linux with GUI
MIT License
1 stars 2 forks source link

opensim-gui-docker + python #5

Closed jgvictores closed 1 year ago

jgvictores commented 1 year ago

"opensim-gui-docker + Python" as of https://github.com/roboticslab-uc3m/opensim-gui-docker/tree/4b550dca5c6be4682d3ab05cd78626894bb02258

docker pull ghcr.io/roboticslab-uc3m/opensim-gui:latest
source ~/.virtualenvs/rocker/bin/activate # if you created a virtualenv
rocker --home --user --nvidia --x11 --privileged ghcr.io/roboticslab-uc3m/opensim-gui /bin/bash
cd /opt/opensim-gui/sdk/Python
sudo python3 setup.py install
export LD_LIBRARY_PATH=/opt/opensim-gui/sdk/Simbody/lib:/opt/opensim-gui/sdk/lib
jgvictores commented 1 year ago

Note that this Docker installs Python 3.6.9.

If the intention is working with gymnasium:

jgvictores commented 1 year ago

Done (without the opensim GUI, but does open windows) at https://github.com/roboticslab-uc3m/docker-opensim-python as of https://github.com/roboticslab-uc3m/docker-opensim-python/tree/a37b7c7bf50427ba8607fea05fa97f9b36fec240