Skip to content

Commit e5ccadf

Browse files
Lock to numpy 1.23.5 to avoid removed np.bool in reinforcement_learning
The gym library used in the reinforcement_learning example uses np.bool which is deprecated in numpy 1.20 and removed in numpy 1.24. This is further complicated by gym itself being deprecated and not accepting updates that might fix the problem at its source; see openai/gym#3258. Fixed by locking the numpy version for this example to 1.23.5.
1 parent 5dfeb46 commit e5ccadf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
torch
2-
numpy
2+
numpy==1.23.5
33
gym
44
pygame

0 commit comments

Comments
 (0)