Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solve this. If I install gym by " pip install gym " . the gym code is for python3 .

First Solution is to install gym by code level .
git clone cd gym pip install -e .

Sencond Solution is the change code like below.

super().__init__((), np.int64)

-> super(Discrete,self).__init__((), np.int64)