Skip to content

训练环境准备遇到mlagentsb版本配套问题 #45

@kingchenchina

Description

@kingchenchina

Collecting mlagents==1.1.0
Using cached mlagents-1.1.0-py3-none-any.whl.metadata (2.1 kB)
INFO: pip is looking at multiple versions of mlagents to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 0.10.0.dev0 Requires-Python >=3.6,<3.7; 0.29.0 Requires-Python >=3.7.2,<3.10.0; 0.30.0 Requires-Python >=3.8.13,<=3.10.8; 0.5.0 Requires-Python >=3.6,<3.7; 0.6.0 Requires-Python >=3.6,<3.7; 0.7.0 Requires-Python >=3.6,<3.7; 0.8.0 Requires-Python >=3.6,<3.7; 0.8.1 Requires-Python >=3.6,<3.7; 0.8.2 Requires-Python >=3.6,<3.7; 0.9.0 Requires-Python >=3.6,<3.7; 0.9.1 Requires-Python >=3.6,<3.7; 0.9.2 Requires-Python >=3.6,<3.7; 0.9.3 Requires-Python >=3.6,<3.7
ERROR: Could not find a version that satisfies the requirement grpcio<=1.48.2,>=1.11.0 (from mlagents) (from versions: none)
ERROR: No matching distribution found for grpcio<=1.48.2,>=1.11.0

如果放开mlagents的限制,会有另外一个错误:
Additionally, some packages in these conflicts have no matching distributions available for your environment:
grpcio
tensorflow

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions