-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
process-dependency-links flag not found #1
Comments
It can also be solved by downgrading |
Here's the longer description of the issue: maybe someone from the community could help us solve it better (as I'm far from the pip/setup.py expert :-)
Therefore, in order to use the football library, the user must have installed the openAI baselines FROM github and not from pypi. Now, our problem is: how to do it in the best way:
Any ideas for a better solution that could work across multiple pypi versions ? |
one good (step towards a?) solution would be to ask openai to update their version on pypi. |
Newer version of pip did not support dependency links.
|
Good news - openAI has increased their version in github repo to 0.1.6. So people who install from github, should see the correct version now. |
We just pushed a new release, process-dependency-links is not used anymore. |
Well,thank you so much.I solved it recently.
However,I’m meeting another challenges.Could you please help me solve it? Meanwhile,I also wrote an issue on your own github.
Running experiments:
root@lzc-virtual-machine:/home/lzc/football# python3 -m gfootball.examples.run_ppo2 --level=academy_empty_goal_close
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/lzc/football/gfootball/init.py", line 23, in
for env_name in scenario_builder.all_scenarios():
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in all_scenarios
return [m.name for m in pkgutil.iter_modules([path])]
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in
return [m.name for m in pkgutil.iter_modules([path])]
AttributeError: 'tuple' object has no attribute 'name'
—————————————————
Playing game yourself:
root@lzc-virtual-machine:/home/lzc/football# python3 -m gfootball.play_game
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/lzc/football/gfootball/init.py", line 23, in
for env_name in scenario_builder.all_scenarios():
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in all_scenarios
return [m.name for m in pkgutil.iter_modules([path])]
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in
return [m.name for m in pkgutil.iter_modules([path])]
AttributeError: 'tuple' object has no attribute 'name'
| |
刘泽辰
|
|
邮箱:15611877789@163.com
|
签名由 网易邮箱大师 定制
On 07/19/2019 22:27, qstanczyk wrote:
Closed #1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This issue is due to Python version, between Python 3.5 and Python 3.6 there was a change in pkgutil API which we use: You can work around it by changing
to:
In gfootball/env/scenario_builder.py |
I have just pushed a new version with the workaround to the problem, so alternatively you can just sync to head. |
process-dependency-links flag is missing from the new pip release.
(we're currently using it to fetch the newest version of openai baselines code).
If you hit this error - the current workaround is:
replace:
'baselines>=0.1.6',
with
'baselines @ git+git://github.com/openai/baselines.git@master#egg=baselines',
and remove the dependency_links section.
Sorry for the hassle - we're working on the better long term solution.
The text was updated successfully, but these errors were encountered: