GithubHelp home page GithubHelp logo

Comments (8)

junchenfeng avatar junchenfeng commented on August 19, 2024

I think it is the problem of cython, not of pyirt.

from pyirt.

bryketos avatar bryketos commented on August 19, 2024

junchenfeng, do you have any advice on this error? I got this with some environments but not others. Thanks

from pyirt.

junchenfeng avatar junchenfeng commented on August 19, 2024

I ran into a similar problem earlier (although I am not sure that it is the same problem) when the user does not have root access because cython build creates and writes into /tmp folder.

I don't know what the Devops guy did to fix the issue.

PS: from the trace stack and a bit of google, I think it may also has something to do with clang installation.

from pyirt.

bryketos avatar bryketos commented on August 19, 2024

Thanks Junchen, I can try compiling this on an EC2 instance as root or as other users if you would like some additional testing. It has worked on one EC2 instance but not another which is puzzling. I hope I can make this pyirt package work because the other option is the mirt package for R which doesn't handle sparsity so well (convergence failures with large, sparse dataframes) and flat-out requires in-memory data structures.

from pyirt.

junchenfeng avatar junchenfeng commented on August 19, 2024

It also depends the OS version. Ubuntu and Mac are probably fine, but Centos 6 and Centos 7 are totally different beasts. If it works on EC2 instance, I bet the problem is the system environment, which is tricky.

I would suggest asking the operation manager to install Cython for python 2.7 and 3.5, then use pipenv to install pyirt. If that fails, then we will do something.

The pyirt package should not be in the business of operations.

from pyirt.

junchenfeng avatar junchenfeng commented on August 19, 2024

@SiddhantAgarwal @bryketos Our new colleague also runs into this exact problem with his new mac. We strongly suspect it is because Cython requires Xcode to be installed. As a simple test, try run a c program that imports math.h. If that fails, it means you need Xcode. For more, see here

from pyirt.

junchenfeng avatar junchenfeng commented on August 19, 2024

Guys, it is our fault. After Cython upgrade, the previous clib.pyx does not compile properly. We are in the process of fixing it

from pyirt.

junchenfeng avatar junchenfeng commented on August 19, 2024

fixed at #12

from pyirt.

Related Issues (12)

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.