Ml-agents: pip install -e . ERROR

Created on 20 Sep 2019  路  4Comments  路  Source: Unity-Technologies/ml-agents

here

image

i get this

ERROR: Command errored out with exit status 1:
command: 'c:usersmariosanaconda3python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Marios\Downloads\ml-agents-master\ml-agents\setup.py'"'"'; __file__='"'"'C:\Users\Marios\Downloads\ml-agents-master\ml-agents\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
cwd: C:UsersMariosDownloadsml-agents-masterml-agents
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:UsersMariosDownloadsml-agents-masterml-agentssetup.py", line 1, in
from setuptools import setup, find_namespace_packages
ImportError: cannot import name 'find_namespace_packages'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

image

installation stale

Most helpful comment

Hi @mhadji05 -- thanks for reporting this to us. Could you update setuptools and try again?

pip install -U setuptools

All 4 comments

Hi @mhadji05 -- thanks for reporting this to us. Could you update setuptools and try again?

pip install -U setuptools

Just ran into this also with setuptools 28.8.0. Upgrading (to 41.4.0) seems to fix it. I suspect anything past 40.1.0 when find_namespace_packages() was introduced would work.

This issue has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed in the next 14 days if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed because it has not had activity in the last 28 days. If this issue is still valid, please ping a maintainer. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GeriBP picture GeriBP  路  3Comments

Procuste34 picture Procuste34  路  3Comments

MarkTension picture MarkTension  路  3Comments

gerardsimons picture gerardsimons  路  3Comments

jlanis picture jlanis  路  4Comments