Comments (7)
Another thread tracking this issue https://forums.developer.nvidia.com/t/wsl2-and-isaac-gym-problem/192069/10
from isaacgymenvs.
I am using pyenv-virtualenv and having the same issues. Have you solved the issue?
from isaacgymenvs.
I haven't--I've moved to looking at other simulation platforms for my needs for now, and will revisit this if there's action from the authors towards better packaging.
from isaacgymenvs.
I figured out how to solve it.
The following installation commands resolved the issue.
ISAAC_VENV_NAME='Isaac_gym_env'
ISAACGYM_PATH='./isaacgym'
GYM_EXAMP_PATH='./IsaacGymEnvs'
CONFIGURE_OPTS=--enable-shared pyenv install 3.7.10
pyenv virtualenv 3.7.10 $ISAAC_VENV_NAME
pyenv activate $ISAAC_VENV_NAME
pip3 install -r ./requirements.txt # Install dependencies.
pip3 install -e "$ISAACGYM_PATH/python"
pip3 install -e "$GYM_EXAMP_PATH"
from isaacgymenvs.
@kiwi-sherbet Do you have a CUDA GPU in that machine? It's not clear to me whether this thing is supposed to be able to run CPU-only or not.
from isaacgymenvs.
Yes, I am using CUDA 11.2. I have not tried running it with CPU only.
from isaacgymenvs.
I think that does it, though I won't really know until later; see below. The directory $PROJECT_DIR
referenced below contains isaacgym and IsaacGymEnvs.
I ran the following on our lab's Ubuntu 18.04 server with an RTX 2080ti and driver 455.45.01 with CUDA 11.1 per nvidia-smi
:
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
cd ~/.pyenv && src/configure && make -C src
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.profile
echo 'eval "$(pyenv init -)"' >> ~/.profile
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
cd "$PROJECT_DIR"
ISAAC_VENV_NAME='Isaac_gym_env'
ISAACGYM_PATH='./isaacgym'
GYM_EXAMP_PATH='./IsaacGymEnvs'
sudo apt-get install libffi-dev # Actually, first I did the next 3 commands without this, and the first pip install failed on pycollada==0.6. So, I had to
# pyenv deactivate
# pyenv uninstall 3.7.10/envs/Isaac_gym_env
# pyenv uninstall 3.7.10
# and then redo the pyenv install 3.7.10
CONFIGURE_OPTS=--enable-shared pyenv install 3.7.10
pyenv virtualenv 3.7.10 $ISAAC_VENV_NAME
pyenv activate $ISAAC_VENV_NAME
Activating the env here failed; it instructed me to restart the terminal.
pip3 install -r ./requirements.txt # This is my own file, but whatever.
pip3 install -e "$ISAACGYM_PATH/python"
Finally, I did the test script, as python isaacgym/python/examples/joint_monkey.py
. This time, it failed due to OOM on the GPU, which is to be expected because we have a visitor using all the GPU RAM as he usually does. I'll ask him nicely to get off and then try again later. But it's probably fixed now?
from isaacgymenvs.
Related Issues (20)
- Failed when testing installation HOT 1
- AssertionError: GlobalHydra is not initialized, use @hydra.main() or call one of the hydra initialization methods first HOT 3
- How to run the IsaacGym simulation environment in an Ubuntu container and display the visual training interface? HOT 3
- How to load a textured mesh that can result in collision?
- How to sequentially read CMU mocap data?
- why my urdf can't work in isaac gym? HOT 2
- RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch) HOT 3
- .
- How to train the HumanoidAMP task with different motion files HOT 1
- Train with SAC HOT 1
- Implementation of ShadowHand with 92 sensors
- Problem Getting contact info for all envs HOT 1
- ValueError: too many values to unpack (expected 2)
- Change the coordinate in Isaac SIm
- "RL List of Examples" link in framework.md leads to no where HOT 1
- [Question] Use Isaac Orbit or this HOT 1
- Use my own robot arm and gripper
- Possible with H100 GPU? HOT 1
- Question about running on Ubuntu22.04 HOT 4
- How to download "Isaac Gym Preview 4 release"? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isaacgymenvs.