Closed janosh closed 2 years ago
This should have been solved with the recent replacement of the Cython file with a pure python version.
It's still failing. For unknown reasons, pip install m3gnet
will download lots of old versions of m3gnet
:
Collecting m3gnet
Downloading m3gnet-0.2.3-py3-none-any.whl (285 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.0/285.0 kB 12.9 MB/s eta 0:00:00
Collecting pymatgen
Downloading pymatgen-2022.11.7.tar.gz (2.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 85.0 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting m3gnet
Downloading m3gnet-0.2.2-py3-none-any.whl (285 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.0/285.0 kB 67.1 MB/s eta 0:00:00
Downloading m3gnet-0.2.1-py3-none-any.whl (285 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.1/285.1 kB 72.2 MB/s eta 0:00:00
Downloading m3gnet-0.2.0-py3-none-any.whl (285 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.1/285.1 kB 61.6 MB/s eta 0:00:00
Downloading m3gnet-0.1.1.tar.gz (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 103.5 MB/s eta 0:00:00
...
and the old versions fail to install with the same old error. I see this both locally and in CI. Installing with --no-deps
seems to prevent that but might cause other problems.
It might be due to the python versions? There is no reason why this doesn't work on Python 3.10 itself, but tensorflow may have requirements.....
Yeah, looks like TF is lacking Python 3.11 support at this point:
Well, you can always skip isntall of m3gnet if it is py3.11 for now.
In https://github.com/materialsproject/pymatgen/pull/2714 it looks like
m3gnet
can't be installed under Python 3.11.pip
install error (CI run):