Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed building wheel for hfo-py #14

Open
hxhebit opened this issue Jan 1, 2021 · 4 comments
Open

ERROR: Failed building wheel for hfo-py #14

hxhebit opened this issue Jan 1, 2021 · 4 comments

Comments

@hxhebit
Copy link

hxhebit commented Jan 1, 2021

I ran these codes:!pip install -e git+https://github.com/cycraig/gym-soccer#egg=gym_soccer in Google Colab
here is an error:
`Obtaining gym_soccer from git+https://github.com/cycraig/gym-soccer#egg=gym_soccer
Updating ./src/gym-soccer clone
Running command git fetch -q --tags
Running command git reset --hard -q a65f514
Requirement already satisfied: gym>=0.2.3 in /usr/local/lib/python3.6/dist-packages (from gym_soccer) (0.17.3)
Collecting hfo_py>=0.2
Using cached https://files.pythonhosted.org/packages/d8/b7/fce181f43b01e3908b70bc2eabd5fa271e89ade5b1a492682af9706b6412/hfo-py-0.2.tar.gz
Requirement already satisfied: pyglet<=1.5.0,>=1.4.0 in /usr/local/lib/python3.6/dist-packages (from gym>=0.2.3->gym_soccer) (1.5.0)
Requirement already satisfied: scipy in /usr/local/lib/python3.6/dist-packages (from gym>=0.2.3->gym_soccer) (1.4.1)
Requirement already satisfied: cloudpickle<1.7.0,>=1.2.0 in /usr/local/lib/python3.6/dist-packages (from gym>=0.2.3->gym_soccer) (1.3.0)
Requirement already satisfied: numpy>=1.10.4 in /usr/local/lib/python3.6/dist-packages (from gym>=0.2.3->gym_soccer) (1.19.4)
Requirement already satisfied: future in /usr/local/lib/python3.6/dist-packages (from pyglet<=1.5.0,>=1.4.0->gym>=0.2.3->gym_soccer) (0.16.0)
Building wheels for collected packages: hfo-py
Building wheel for hfo-py (setup.py) ... error
ERROR: Failed building wheel for hfo-py
Running setup.py clean for hfo-py
Failed to build hfo-py
Installing collected packages: hfo-py, gym-soccer
Running setup.py install for hfo-py ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tfehppeh/hfo-py/setup.py'"'"'; file='"'"'/tmp/pip-install-tfehppeh/hfo-py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-k3q4wtvg/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

`

@Stefan2016
Copy link

Same issue here.

@qweasdzxc1233133
Copy link

I have fixed it. Just need to install the essential packages.You can find them from the original HFO program.

@wanguangxi
Copy link

I have the same problem, How to fixed?

@Always1172
Copy link

Try this repo
https://github.com/mhauskn/hfo-py.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants