You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-2
Original file line number
Diff line number
Diff line change
@@ -98,17 +98,25 @@ For continued usage of MDP Playground as it is in development, please continue r
98
98
99
99
### Production use
100
100
We recommend using `conda` to manage environments. After setup of the environment, you can install MDP Playground in two ways:
101
+
101
102
#### Manual
102
-
To install MDP Playground manually, clone the repository and run:
103
+
To install MDP Playground manually (this might be the preferred way if you want easy access to the included experiments), clone the repository and run:
103
104
```bash
105
+
# If you just want to use the environments as in example.py:
106
+
pip install -e .
107
+
108
+
# If you want to run experiments using Ray, etc.:
104
109
pip install -r requirements.txt
105
110
pip install -e .[extras]
106
111
```
107
-
This might be the preferred way if you want easy access to the included experiments.
108
112
109
113
#### From PyPI
110
114
Alternatively, MDP Playground can also be installed from PyPI. Just run:
111
115
```bash
116
+
# If you just want to use the environments as in example.py:
Copy file name to clipboardexpand all lines: setup.py
+7-7
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,17 @@
12
12
package_data= {"": ["*"]}
13
13
14
14
extras_require= [
15
-
"ray[default,rllib]==1.0.0",
16
-
"tensorflow==2.5.0",
15
+
"ray[default,rllib]>=1.0.0",
16
+
"tensorflow>=2.5.0",
17
17
"pillow>=6.1.0",
18
-
"requests==2.22.0",
19
-
"configspace==0.4.10",
18
+
"requests>=2.22.0",
19
+
"configspace>=0.4.10",
20
20
"scipy>=1.7.0",
21
21
"pandas>=0.25.0",
22
-
"gym[atari]==0.20",
22
+
"gym[atari]<=0.25",
23
23
"matplotlib",
24
-
"opencv-python==4.2.0.34", # due to https://stackoverflow.com/questions/72706073/attributeerror-partially-initialized-module-cv2-has-no-attribute-gapi-wip-gs
25
-
"opencv-python-headless==4.2.0.34", # and https://stackoverflow.com/questions/70537488/cannot-import-name-registermattype-from-cv2-cv2
24
+
"opencv-python>=4.2.0.34", # due to https://stackoverflow.com/questions/72706073/attributeerror-partially-initialized-module-cv2-has-no-attribute-gapi-wip-gs
25
+
"opencv-python-headless>=4.2.0.34", # and https://stackoverflow.com/questions/70537488/cannot-import-name-registermattype-from-cv2-cv2
0 commit comments