Error installing modulus-sym in a python env

I’ve been trying to install modulus-sym in a python environment, i’ve tried python 3.10,3.13 , but none of them worked out first it gives module not found error, then this strange error happens

File "<string>", line 33, in <module>
    File "<string>", line 27, in get_version
  KeyError: '__version__'
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

I’m using ubuntu 22.04, i’ve tried upgrading pip setuptools and wheels, none worked.

I installed all modulus and sym from github , not using a container, first installed versions of modules they were dependent on and then installed them, it worked