DRL-CASIA / COG-sim2real-challenge

34 stars 8 forks source link

环境依赖问题 #1

Open chenzheng135248 opened 2 years ago

chenzheng135248 commented 2 years ago

你好,我在安装环境依赖的时候出现了一个冲突

`ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gym-unity 0.28.0 requires gym==0.20.0, but you have gym 0.23.1 which is incompatible`

pettingzoo 和gym.unity 对于gym安装的版本不匹配,请问该怎么去解决。期待您的回复

Lingze-Zeng commented 2 years ago

你好,我们刚刚更新了这个包,请重新试一下。我看这个bug是由于gym版本不匹配导致的。请问是之前安装过gym吗?可以uninstall 了现有版本再重新安装试一下。

fengshiyu58 commented 2 years ago
cloudpickle==2.0.0
cogenvdecoder==0.1.0
filelock==3.6.0
grpcio==1.44.0
gym
gym-notices==0.0.6
gym-unity
importlib-metadata==4.11.3
mlagents-envs==0.28.0
numpy==1.21.2
opencv-python==4.5.5.64
pettingzoo
pillow==9.1.0
protobuf==3.20.0
pyyaml==6.0
six==1.16.0
typing-extensions==4.1.1
zipp==3.8.0

在COG-sim2real-challenge路径下,新建文件requirements.txt,把上面的复制到里面,然后打开conda环境,运行pip install -r requirements.txt