Skip to content

The interface flash back. #5

@fanyuzeng

Description

@fanyuzeng

The interface just appear for 1 second, when I run the basic usage code. And following is the error information:

/usr/bin/python3.5 /home/cr/pycharmProjects/0Test/test.py
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
/usr/local/lib/python3.5/dist-packages/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images.
warn("Anti-aliasing will be enabled by default in skimage 0.15 to "
/usr/local/lib/python3.5/dist-packages/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images.
warn("Anti-aliasing will be enabled by default in skimage 0.15 to "
/usr/local/lib/python3.5/dist-packages/skimage/transform/_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images.
warn("Anti-aliasing will be enabled by default in skimage 0.15 to "
Traceback (most recent call last):
File "/home/cr/pycharmProjects/0Test/test.py", line 18, in
a = env.action_space.sample()
AttributeError: 'int' object has no attribute 'sample'

How to solve this problem, thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions