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 956 forks source link

missing dependencies #108

Closed keneo closed 7 years ago

keneo commented 7 years ago

FYI I had to manually install dependencies on Mac because automatic installation failed without manual intervention.

Expected behavior

When installing dependencies automatically with pip install -e . I expected it installs all dependencies automatically without errors.

Actual behavior

I had to ignore already installed six as its now protected: sudo -H pip install --ignore-installed six -e .

Versions (after installing dependencies)

MacBook-Air-Bartlomiej:universe bartlomiejszabat$ uname -a ; python --version; pip show universe gym tensorflow numpy go-vncdriver Pillow
Darwin MacBook-Air-Bartlomiej.local 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
Python 2.7.10
Name: universe
Version: 0.21.1
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: /Users/bartlomiejszabat/prj/ai/fun5/universe
Requires: autobahn, docker-py, docker-pycreds, fastzbarlight, go-vncdriver, gym, Pillow, PyYAML, six, twisted, ujson
---
Name: gym
Version: 0.7.1
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: /Library/Python/2.7/site-packages
Requires: numpy, requests, six, pyglet
---
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: /Library/Python/2.7/site-packages
Requires: 
---
Name: go-vncdriver
Version: 0.4.19
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: /Library/Python/2.7/site-packages
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: /Library/Python/2.7/site-packages
Requires: olefile
MacBook-Air-Bartlomiej:universe bartlomiejszabat$
tlbtlbtlb commented 7 years ago

This doesn't seem like a bug in universe (which includes six>=1.10.0 in setup.py:install_requires), but a permissions problem with the python installation.