Skip to content

Commit 9d1d93b

Browse files
authored
Unpin version of gym in the quantum reinforcement learning tutorial (#943)
Loading a specific version of gym in Colab causes Colab to require another restart. In Colab, the newest version of gym is preinstalled. That version of gym seems to work for the tutorial. Note: the `import gym` step generates a warning that gym is no longer supported. This is potentially confusing to users. The warning also suggests switching to a different package (Gymnasium). I opened issue #944 to remind us of this.
1 parent 5bc225d commit 9d1d93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/quantum_reinforcement_learning.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
},
179179
"outputs": [],
180180
"source": [
181-
"!pip install gym==0.18.0"
181+
"!pip install gym"
182182
]
183183
},
184184
{

0 commit comments

Comments
 (0)