Git Product home page Git Product logo

Comments (6)

shyuep avatar shyuep commented on June 15, 2024

This should have been solved with the recent replacement of the Cython file with a pure python version.

from m3gnet.

janosh avatar janosh commented on June 15, 2024

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.

from m3gnet.

shyuep avatar shyuep commented on June 15, 2024

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.....

from m3gnet.

janosh avatar janosh commented on June 15, 2024

Yeah, looks like TF is lacking Python 3.11 support at this point:

tensorflow/tensorflow#58032

from m3gnet.

shyuep avatar shyuep commented on June 15, 2024

Well, you can always skip isntall of m3gnet if it is py3.11 for now.

from m3gnet.

janosh avatar janosh commented on June 15, 2024

Will do.

from m3gnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.