-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
please get rid of tensorflow 1.7 dependency #1979
Comments
Sounds like your are not using Python version 3.6 |
Hi @clankill3r -- I think MarcoMeter is right, at this time you'll need to use Python 3.6 to use ML-Agents. We did look into updating the version of Python / Tensorflow recently and discovered bugs and package version conflicts which haven't yet been resolved. |
It was with 3.6. We try to get ml-agents working with a small group of students, for most students it works now. Atm we do it using the following steps, (we moved from pip to miniconda where possible).
navigate to the directory where you want the unity project installed:
As for now, it fails when for example someone had a version of pillow installed before. It would be really great if the dependencies where just included in the repository in such a way that no additional installations are required. Also, what is the reason of
Eventually we hope to get a list of commands that just work 99% of the cases. |
hi @clankill3r - yes, setup.py is intended to check and install the dependencies. let us know if you or your students continue to have issues. closing out the ticket for now, but feel free to re-open if needed. |
Trying to understand what is happening here, because I am experiencing the same. Clean virtenv with python 3.6.7. I run the following. Hereafter I can install tensorflow 1.12.3 if I want to without any problems. If I install tensorflow 1.12.x first, and then mlagents, then it will downgrade tensorflow to 1.7.1. |
Hi @simonbogh , The good news is that the latest development version of ml-agents relaxes the restrictions on tensorflow (and numpy and python) versions. We're releasing v0.10 this week, which will contain these changes. |
Hi @chriselion , I am happy to hear that, because it is quite annoying to get your TF package downgraded when installing mlagents. When you say relaxes the restrictions on TF, is it still for a specific version or just any version? |
@chriselion That is really great to hear. |
@simonbogh We're working on supporting tensorflow 2.0.0 now that it's available. |
@chriselion |
Ok I see, that requirement was changed in 0.10.0, 3 days ago? For 0.9.3 it says |
Yeah, sorry, it was changed on the develop branch a few weeks ago, but the first published package that has the change is 0.10.0. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
With pip3 I get:
Could not find a version that satisfies the requirement tensorflow==1.7 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 2.0.0a0)
This repository is still such a pain to get the work.
The text was updated successfully, but these errors were encountered: