Magma icon indicating copy to clipboard operation
Magma copied to clipboard

Dependency issues while setup

Open GitAashishG opened this issue 8 months ago • 4 comments

There are two sets of dependencies that fail to resolve: 1. gradio==4.46.0 results in a “package not found” error — possibly due to the version being yanked. Removing the version pin resolves the issue. 2. There’s an unsatisfiable dependency conflict:

magma==0.0.1 requires tensorflow==2.15.1
tensorflow-graphics==2021.12.3 requires tensorflow>=2.2.0
dlimp==0.0.1 requires tensorflow==2.15.0

This leads to an impossible constraint on the tensorflow version.

Removing the strict version requirements for tensorflow and tensorflow-graphics allows the dependencies to resolve correctly.

GitAashishG avatar Apr 16 '25 16:04 GitAashishG

Hmm, I think this is because of a PR. Will revert it.

On Wed, Apr 16, 2025 at 9:28 AM Aashish Ghimire @.***> wrote:

There are two sets of dependencies that fail to resolve:

  1. gradio==4.46.0 results in a “package not found” error — possibly due to the version being yanked. Removing the version pin resolves the issue.
  2. There’s an unsatisfiable dependency conflict:

magma==0.0.1 requires tensorflow==2.15.1 tensorflow-graphics==2021.12.3 requires tensorflow>=2.2.0 dlimp==0.0.1 requires tensorflow==2.15.0

This leads to an impossible constraint on the tensorflow version.

Removing the strict version requirements for tensorflow and tensorflow-graphics allows the dependencies to resolve correctly.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/Magma/issues/65 or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5WXZ627LFFYBK55BGHILT2Z2AKBBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJYHEZDQMZWGM3TLAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDGMBQGAYTKOJTGAZ2O5DSNFTWOZLSUZRXEZLBORSQ . You are receiving this email because you are subscribed to this thread.

Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

jwyang avatar Apr 16 '25 17:04 jwyang

Ran into the same issue when installing as well. I tried adjusting the version of gradio, but when I ran the demo script, it wasn't working.

sh1shir avatar Apr 17 '25 16:04 sh1shir

@GitAashishG @sh1shir , done with the revert, can you try again?

jwyang avatar Apr 18 '25 19:04 jwyang

seems to be wokring, however, i'm running into issues installing the packages for agents. This is my error:

`Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-nx5fx7ft/paddle_2bcc78b215e64a0ead898dd42c6d0c55/setup.py", line 3, in import paddle File "/tmp/pip-install-nx5fx7ft/paddle_2bcc78b215e64a0ead898dd42c6d0c55/paddle/init.py", line 5, in import common, dual, tight, data, prox ModuleNotFoundError: No module named 'common' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.`

sh1shir avatar Apr 18 '25 21:04 sh1shir