Giter Club home page Giter Club logo

Comments (6)

dvida avatar dvida commented on June 3, 2024

Interesting - could you try it with Python 3.7? What operating systems are you using?

from rms.

jenyak avatar jenyak commented on June 3, 2024

I'm using Debian Bullseye. I have already fixed error by replacing __Pyx_PyCode_New function

  #define __Pyx_PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_NewWithPosOnlyArgs(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)

with

  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_NewWithPosOnlyArgs(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)

in every *.c file in RMS directory. I dont now if 0 is correct value but I was able to install after that.

from rms.

dvida avatar dvida commented on June 3, 2024

Note that the C files are autogenerated by Cython. I guess what happened was that there were pre-compiled C files in the repository that didn't work on your systems, and RMS didn't re-generate them. Once you changed them, it decided to make them again from pyx files. Does it also work when you delete the C files?

from rms.

jenyak avatar jenyak commented on June 3, 2024

Does it also work when you delete the C files?

Yes

from rms.

jenyak avatar jenyak commented on June 3, 2024

It didn't re-generate C files when I change them, only when delete them.

from rms.

dvida avatar dvida commented on June 3, 2024

Great - I removed them from the repository now, so we can avoid this problem in the future.

from rms.

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.