isaac-sim / OmniIsaacGymEnvs

Reinforcement Learning Environments for Omniverse Isaac Gym
Other
764 stars 202 forks source link

Not comapatible with python 3.10. #117

Closed Bhargav-CS closed 6 months ago

Bhargav-CS commented 6 months ago

I tried to install all of the dependencies with the python 3.10 but it is showing the error 'There was an error running python.' Here is the entire error

PS D:\bored eng\OmniIsaacGymEnvs> C:\Users\Bhargav\AppData\Local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\python.bat -m pip install -e . Obtaining file:///D:/bored%20eng/OmniIsaacGymEnvs Requirement already satisfied: protobuf==3.20.2 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from omniisaacgymenvs==2022.2.1.0) (3.20.2) Collecting omegaconf==2.1.1 Using cached omegaconf-2.1.1-py3-none-any.whl (74 kB) Collecting hydra-core==1.1.1 Using cached hydra_core-1.1.1-py3-none-any.whl (145 kB) Collecting redis==3.5.3 Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB) Collecting rl-games==1.6.0 Using cached rl-games-1.6.0.tar.gz (14.7 MB)

I used this command : C:\Users\Bhargav\AppData\Local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\python.bat -m pip install -e .

Moreover when I used the original Omniiisac Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting antlr4-python3-runtime==4.8 Using cached antlr4-python3-runtime-4.8.tar.gz (112 kB) Requirement already satisfied: PyYAML>=5.1.0 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\exts\omni.pip.compute\pip_prebundle (from omegaconf==2.1.1->omniisaacgymenvs==2022.2.1.0) (6.0.1) Requirement already satisfied: wandb<0.13.0,>=0.12.11 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (0.12.21) Requirement already satisfied: gym[classic-control]<0.24.0,>=0.23.0 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (0.23.1) Requirement already satisfied: tensorboard<3.0.0,>=2.8.0 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (2.15.1) Requirement already satisfied: tensorboardX<3.0,>=2.5 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (2.6.2.2) Requirement already satisfied: setproctitle<2.0.0,>=1.2.2 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (1.3.3) Requirement already satisfied: opencv-python<5.0.0,>=4.5.5 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (4.8.1.78) Requirement already satisfied: psutil<6.0.0,>=5.9.0 in c:\users\bhargav\appdata\local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\lib\site-packages (from rl-games==1.6.0->omniisaacgymenvs==2022.2.1.0) (5.9.6) INFO: pip is looking at multiple versions of redis to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of protobuf to determine which version is compatible with other requirements. This could take a while. Collecting protobuf==3.20.2 Using cached protobuf-3.20.2-cp310-cp310-win_amd64.whl (904 kB) INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of omegaconf to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of antlr4-python3-runtime to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of hydra-core to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of omniisaacgymenvs to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement ray<2.0.0,>=1.11.0 (from rl-games) (from versions: 2.2.0, 2.3.0rc0, 2.3.0, 2.3.1, 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0rc0, 2.7.0, 2.7.1, 2.7.2, 2.8.0, 2.8.1) ERROR: No matching distribution found for ray<2.0.0,>=1.11.0 WARNING: You are using pip version 21.2.1+nv1; however, version 23.3.1 is available. You should consider upgrading via the 'C:\Users\Bhargav\AppData\Local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\kit\python\python.exe -m pip install --upgrade pip' command. There was an error running python.

I used this command C:\Users\Bhargav\AppData\Local\ov\pkg\isaac_sim-2023.1.0-hotfix.1\python.bat -m pip install -e .

This works perfectly fine with the original omniissacgym repo made by NVIDIA. Screenshot (8)

Bhargav-CS commented 6 months ago

I tried using python 3.7.9 and I got the same error