-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装baselines3出现错误 #20
Comments
我自行修改了baselines3的setup.py文件,将其中 "gym>=0.17,<0.20", 修改成了"gym>=0.17,<=0.21",编译通过了。我认为atari-py对本项目来说不是重要的一部分对吗?我的修改能否运行您的项目呢?期待您的解答 |
运行start_train_with_plot.py出现如下问题(使用的是config_NH_center_SimpleMultirotor_3D.ini): Reward type: reward_final config_NH_center_SimpleMultirotor_3D.ini如下: navigation_3d = True ;depth, lgmd, vector algo = TD3 policy_name = mlp keyboard_debug = False use_wandb = True [wandb] [environment] crash_distance = 1 [multirotor] ; configs for DRL algorithms |
把cnn_feature_num = 25换成cnn_feature_num = 5解决了 |
(airsim) C:\Users\Administrator\Desktop\UAV_Navigation_DRL_AirSim\stable-baselines3>pip install -e .
Obtaining file:///C:/Users/Administrator/Desktop/UAV_Navigation_DRL_AirSim/stable-baselines3
Preparing metadata (setup.py) ... done
Collecting gym<0.20,>=0.17 (from stable-baselines3==1.4.1a0)
Downloading gym-0.19.0.tar.gz (1.6 MB)
---------------------------------------- 1.6/1.6 MB 1.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
您好,我按您的环境需求配置好了,为什么您环境里面的gym会与baselines3里面要求的gym不一致呢?
Package Version Editable project location
airsim 1.6.0
cloudpickle 2.2.1
gym 0.21.0
gym-env 0.0.1 c:\users\administrator\desktop\uav_navigation_drl_airsim\gym_env
keyboard 0.13.5
msgpack-python 0.5.6
msgpack-rpc-python 0.4.1
numpy 1.24.4
opencv-contrib-python 4.8.0.76
Pillow 10.0.0
pip 23.2.1
PyQt5 5.15.6
PyQt5-Qt5 5.15.2
PyQt5-sip 12.12.2
setuptools 68.0.0
torch 1.10.1+cu113
torchaudio 0.10.1+cu113
torchvision 0.11.2+cu113
tornado 4.5.3
typing_extensions 4.7.1
wheel 0.38.0
The text was updated successfully, but these errors were encountered: