openai / multi-agent-emergence-environments

Environment generation code for the paper "Emergent Tool Use From Multi-Agent Autocurricula"
MIT License
1.64k stars 307 forks source link

How to determine successful installation? #25

Closed Jiang1206 closed 4 years ago

Jiang1206 commented 4 years ago

When i run pip install -e multi-agent-emergence-environments/

The following error appears:

Running setup.py develop for mae-envs ERROR: Command errored out with exit status 1: command: /home/jtr/anaconda3/envs/mujoco/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/jtr/multi-agent-emergence-environments/setup.py'"'"'; file='"'"'/home/jtr/multi-agent-emergence-environments/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps cwd: /home/jtr/multi-agent-emergence-environments/ Complete output (3 lines): running develop running egg_info error: [Errno 13] Permission denied

ERROR: Command errored out with exit status 1: /home/jtr/anaconda3/envs/mujoco/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/jtr/multi-agent-emergence-environments/setup.py'"'"'; file='"'"'/home/jtr/multi-agent-emergence-environments/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

I thought it was not enough authority, so I executed: sudo pip install -e multi-agent-emergence-environments/

The output seems to be successful, but mae-envs cannot be found when running base. No handlers could be found for logger "pip._internal.network.auth" DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support WARNING: The directory '/home/jtr/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Looking in indexes: http://pypi.douban.com/simple Obtaining file:///home/jtr/multi-agent-emergence-environments Installing collected packages: mae-envs Attempting uninstall: mae-envs Found existing installation: mae-envs 0.0.0 Uninstalling mae-envs-0.0.0: Successfully uninstalled mae-envs-0.0.0 Running setup.py develop for mae-envs Successfully installed mae-envs

So did I install it successfully? In addition, how to test after successful installation