openai / universe

Universe: a software platform for measuring and training an AI's general intelligence across the world's supply of games, websites and other applications.
https://universe.openai.com
MIT License
7.45k stars 957 forks source link

Please updating the readme.md #161

Closed zhengwx11 closed 6 years ago

zhengwx11 commented 7 years ago

Expected behavior

The 'get started - Installation' shall mentions that, go-vncdriver should be compiled and installed manually to make Universe work (at least for 'Your First Agent').
The reason is that 'go-vncdriver' provided by pip repo does not gurantee openGL support which is required by Universe.

I met this problem and search it in the issues, finally found some clues about the solution.

This problem deserves some words in the main page, I think.

Actual behavior

Nothing about 'go-vncdriver' is mentioned in readme.md.

Versions

Please include the result of running

Linux Titan 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Anaconda3-4.3.0-Linux-x86_64 with python 3.6.0
Name: universe
Version: 0.21.2
Summary: Universe: a software platform for measuring and training an AI's general intelligence across the world's supply of games, websites and other applications.
Home-page: https://github.com/openai/universe
Author: OpenAI
Author-email: universe@openai.com
License: UNKNOWN
Location: /opt/universe
Requires: autobahn, docker-py, docker-pycreds, fastzbarlight, go-vncdriver, gym, Pillow, PyYAML, six, twisted, ujson
---
Name: gym
Version: 0.7.3
Summary: The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.
Home-page: https://github.com/openai/gym
Author: OpenAI
Author-email: gym@openai.com
License: UNKNOWN
Location: /opt/anaconda3/lib/python3.6/site-packages
Requires: requests, pyglet, six, numpy
---
Name: numpy
Version: 1.11.3
Summary: NumPy: array processing for numbers, strings, records, and objects.
Home-page: http://www.numpy.org
Author: NumPy Developers
Author-email: numpy-discussion@scipy.org
License: BSD
Location: /opt/anaconda3/lib/python3.6/site-packages
Requires: 
---
Name: go-vncdriver
Version: 0.4.19
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: /opt/go-vncdriver
Requires: numpy
---
Name: Pillow
Version: 4.0.0
Summary: Python Imaging Library (Fork)
Home-page: http://python-pillow.org
Author: Alex Clark (Fork Author)
Author-email: aclark@aclark.net
License: Standard PIL License
Location: /opt/anaconda3/lib/python3.6/site-packages
Requires: olefile
tlbtlbtlb commented 7 years ago

OpenGL support isn't required, and most users I know don't use it. If you want to watch VNC environments running live, it's much better to point your browser to the URL it gives (such as http://localhost:15900/).

On Sat, Mar 4, 2017 at 1:52 AM, zhengwx11 notifications@github.com wrote:

(First, please check https://github.com/openai/universe/wiki/Solutions-to- common-problems for solutions to many common problems) Expected behavior

The 'get started - Installation' shall mentions that, go-vncdriver should be compiled and installed manually to make Universe work (at least for 'Your First Agent'). The reason is that 'go-vncdriver' provided by pip repo does not gurantee openGL support which is required by Universe.

I met this problem and search it in the issues, finally found some clues about the solution.

This problem deserves some words in the main page, I think. Actual behavior

Nothing about 'go-vncdriver' is mentioned in readme.md. Versions

Please include the result of running

Linux Titan 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Anaconda3-4.3.0-Linux-x86_64 with python 3.6.0

Name: universe Version: 0.21.2 Summary: Universe: a software platform for measuring and training an AI's general intelligence across the world's supply of games, websites and other applications. Home-page: https://github.com/openai/universe Author: OpenAI Author-email: universe@openai.com License: UNKNOWN Location: /opt/universe Requires: autobahn, docker-py, docker-pycreds, fastzbarlight, go-vncdriver, gym, Pillow, PyYAML, six, twisted, ujson

Name: gym Version: 0.7.3 Summary: The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents. Home-page: https://github.com/openai/gym Author: OpenAI Author-email: gym@openai.com License: UNKNOWN Location: /opt/anaconda3/lib/python3.6/site-packages Requires: requests, pyglet, six, numpy

Name: numpy Version: 1.11.3 Summary: NumPy: array processing for numbers, strings, records, and objects. Home-page: http://www.numpy.org Author: NumPy Developers Author-email: numpy-discussion@scipy.org License: BSD Location: /opt/anaconda3/lib/python3.6/site-packages Requires:

Name: go-vncdriver Version: 0.4.19 Summary: UNKNOWN Home-page: UNKNOWN Author: UNKNOWN Author-email: UNKNOWN License: UNKNOWN Location: /opt/go-vncdriver Requires: numpy

Name: Pillow Version: 4.0.0 Summary: Python Imaging Library (Fork) Home-page: http://python-pillow.org Author: Alex Clark (Fork Author) Author-email: aclark@aclark.net License: Standard PIL License Location: /opt/anaconda3/lib/python3.6/site-packages Requires: olefile

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openai/universe/issues/161, or mute the thread https://github.com/notifications/unsubscribe-auth/AANZdEPqKsrSUIsBJKtUmSb4IXJfuqATks5riTROgaJpZM4MTCfq .

-- Trevor Blackwell tlb@openai.com 650 776 7870

rogaha commented 7 years ago

I'm seeing the same issue.

Error: /private/var/folders/fp/628sz3z530q881r3q1r7xbym0000gn/T/pip-build-Eu8vHP/go-vncdriver/.build/src/github.com/openai/go-vncdriver/main.go:387: go_vncdriver was installed without OpenGL support. See https://github.com/openai/go-vncdriver for details on how debug.
tlbtlbtlb commented 7 years ago

Did you see https://github.com/openai/go-vncdriver for details on how debug?

rogaha commented 7 years ago

@tlbtlbtlb yep! I had to build and re-install it locally in order to fix the issue above. I think it would be helpful to update the docs. I'll submit a PR later tomorrow.