google-deepmind / hanabi-learning-environment

hanabi_learning_environment is a research platform for Hanabi experiments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pip install error

KevinJeon opened this issue · comments

Hi, when I try to install env, this error show. How can I fix it?

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module> main() File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 205, in build_wheel metadata_directory) File "/usr/local/lib/python2.7/dist-packages/setuptools/build_meta.py", line 192, in build_wheel self.run_setup() File "/usr/local/lib/python2.7/dist-packages/setuptools/build_meta.py", line 234, in run_setup self).run_setup(setup_script=setup_script) File "/usr/local/lib/python2.7/dist-packages/setuptools/build_meta.py", line 141, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 9, in <module> install_requires=['cffi'] File "/tmp/pip-build-env-OA8BOj/overlay/lib/python2.7/site-packages/skbuild/setuptools_wrap.py", line 693, in setup return upstream_setup(*args, **kw) File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip-build-env-OA8BOj/overlay/lib/python2.7/site-packages/skbuild/command/bdist_wheel.py", line 41, in run super(bdist_wheel, self).run(*args, **kwargs) File "/tmp/pip-build-env-OA8BOj/overlay/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 353, in run self.write_wheelfile(distinfo_dir) File "/tmp/pip-build-env-OA8BOj/overlay/lib/python2.7/site-packages/skbuild/command/bdist_wheel.py", line 78, in write_wheelfile super(bdist_wheel, self).write_wheelfile(wheelfile_base, generator) File "/tmp/pip-build-env-OA8BOj/overlay/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 393, in write_wheelfile BytesGenerator(buffer, maxheaderlen=0).flatten(msg) File "/usr/lib/python2.7/email/generator.py", line 83, in flatten self._write(msg) File "/usr/lib/python2.7/email/generator.py", line 115, in _write self._write_headers(msg) File "/usr/lib/python2.7/email/generator.py", line 145, in _write_headers print >> self._fp, v TypeError: 'unicode' does not have the buffer interface ---------------------------------------- ERROR: Failed building wheel for hanabi-learning-environment

I find the solution! when I install the environment with pip install . --no-use-pep517 installation works