Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
16.93k stars 4.13k forks source link

Installation of mlagents python package failed #2065

Closed danksky closed 5 years ago

danksky commented 5 years ago

During the installation of ml-agents, I ran pip3 install mlagents Which failed with the following message: Could not find a version that satisfies the requirement tensorflow==1.7.1 (from mlagents) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 2.0.0a0) No matching distribution found for tensorflow==1.7.1 (from mlagents)

I followed an Issue to this post, changed 0.12.0 --> 1.7.1 and FUTILY ran the following:

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.7.1-py3-none-any.whl

which evoked the following error response: AttributeError: module 'pip' has no attribute 'main'

So, instead, I ran this: pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.7.1-py3-none-any.whl which worked!

vincentpierre commented 5 years ago

Were able to install mlagents or are you still facing an issue?

danksky commented 5 years ago

Just posting in case anyone else ran across the same issue. It's installed.

antisquark commented 5 years ago

Thanks for this.

ghost commented 4 years ago

Thanks.

MajidMoghadam commented 4 years ago

awesome...helped me out ;)

hale445566 commented 4 years ago

Thanks, help me a lot!

ineooh commented 4 years ago

hey, thanks a lot

praveenswamy65 commented 4 years ago

Thank you for this comment, It helped !!!

Rahul1947116 commented 4 years ago

Thank you so muchhh !!