Skip to content
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

Incompatible with python 3.9 #754

Closed
jungsdao opened this issue Dec 17, 2024 · 1 comment
Closed

Incompatible with python 3.9 #754

jungsdao opened this issue Dec 17, 2024 · 1 comment

Comments

@jungsdao
Copy link

jungsdao commented Dec 17, 2024

Describe the bug
MACE version 0.3.9 doesn't seem to compatible with python 3.9.
But after upgrading to python 3.11, it works.

  File "/u/hjung/Softwares/reaction_network_search/prepare_neb.py", line 25, in <module>
    from mace.calculators import mace_mp
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/calculators/__init__.py", line 1, in <module>
    from .foundations_models import mace_anicc, mace_mp, mace_off
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/calculators/foundations_models.py", line 10, in <module>
    from .mace import MACECalculator
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/calculators/mace.py", line 20, in <module>
    from mace.cli.convert_e3nn_cueq import run as run_e3nn_to_cueq
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/cli/convert_e3nn_cueq.py", line 8, in <module>
    from mace.modules.wrapper_ops import CuEquivarianceConfig
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/modules/__init__.py", line 5, in <module>
    from .blocks import (
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/modules/blocks.py", line 15, in <module>
    from mace.modules.wrapper_ops import (
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/mace/modules/wrapper_ops.py", line 17, in <module>
    import cuequivariance as cue
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/cuequivariance/__init__.py", line 21, in <module>
    from cuequivariance.representation import (
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/cuequivariance/representation/__init__.py", line 23, in <module>
    from .irrep_so3 import SO3
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/cuequivariance/representation/irrep_so3.py", line 24, in <module>
    from cuequivariance.misc.linalg import round_to_sqrt_rational
  File "/u/hjung/conda-envs/mace_env/lib/python3.9/site-packages/cuequivariance/misc/linalg.py", line 399
    match sparsify_rows(x[i0], x[i1], round_fn):
          ^
SyntaxError: invalid syntax
@ilyes319
Copy link
Contributor

ilyes319 commented Dec 17, 2024

already discueed here: #699, we will up the requirement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants