question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package Dependency from unity-ml is outdated

See original GitHub issue

This is mostly from an upstream issue https://github.com/Unity-Technologies/ml-agents/issues/1646, but I believe it’s also worth being tracked here as well.

unity-ml requires a very specific, outdated version of tensorflow, numpy, etc. (and python is forced to >=3.6 <3.7, which shall be just 3.6+: #19). This would limit users to use recent version of softwares when developing a RL agent on their own, despite there is no reason to get tied to such old versions.

The most standard way: Have unity-ml fix https://github.com/Unity-Technologies/ml-agents/issues/1646 (e.g. split the monolithic one into env-related part and learning-related part). But, what else workaround we can think about?

One workaround is simply removing unity-ml from its requirements (setup.py), and let users manually install this with pip install unity-ml --no-deps, etc. Or we can consider mentioning in the README as well.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
awjulianicommented, Feb 1, 2019

Hi @wookayin

Thank you for bringing this to our attention. I completely agree that these package requirements are overly restrictive. The current issue is that we are treating both the mlagents.learn and mlagents.envs packages as one, and using one set of requirements. In fact for Obstacle Tower only mlagents.envs is needed, and that package has very few dependencies. I will talk with my team about the best way to approach this in the short term for the competition.

1reaction
awjulianicommented, Feb 15, 2019

@iamchathu Any Python version in the 3.5 or 3.6 range should work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

An error occured while resolving packages - Unity Forum
To solve this problem go to Help>Reset Packages in Unity and problem will be solved. If not then delete the <Project-Root>>Packages>manifest.
Read more >
Switching to another package version - Unity - Manual
Open the Package Manager window and select In Project from the PackagesPackages are collections of assets to be shared and re-used in Unity....
Read more >
Changelog | ML Agents | 1.7.2-preview - Unity User Manual 2021.3 ...
All notable changes to this package will be documented in this file. The format is based on Keep a Changelog and this project...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
... Package)" status:RESOLVED resolution:OBSOLETE severity:enhancement · Bug:97012 - "Request for spring-framework dependency: dev-java/jdbc-rowset-bin" ...
Read more >
Swift Package Manager vs CocoaPods vs Carthage for All ...
It's easy to check if a new version of a dependency is available by using the command pod outdated . If the dependency...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found