Git Product home page Git Product logo

Comments (6)

concatenize avatar concatenize commented on August 21, 2024

I noticed that one of the submodules of this package is named io, which is already the name of a Python library. I'm not very knowledgeable about Python's package systems, but do you think this could be causing my issue?

from iced.

NelleV avatar NelleV commented on August 21, 2024

Not in this particular cause, as the error actually comes from the fastio_.c file. If you install pandas, it will pick a better maintain loading mechanism which should hopefully fix this issue.
i'll investigate more on why my hacky c code doesn't work…

from iced.

concatenize avatar concatenize commented on August 21, 2024

I may be totally off base here, but my interpretation based on a close reading of the error is:

  • numpy looks for tempfile in the right place.
  • tempfile looks for built-in io in the wrong place (with iced) but finds something, so no error occurs yet
  • io (but your doppelganger, not the built-in one) looks for .fastio and finds it with iced, but expects it to have a certain attribute, and it doesn't.

If I prioritize the path to the built-in io.py (move it earlier in my PYTHONPATH), the issue goes away (and I get a new error, which I will pursue along with your pandas suggestion).

Thanks for looking into this!

from iced.

NelleV avatar NelleV commented on August 21, 2024

I honestly was not aware that this piece of code was still here. It was implemented before I realized the csv reader of pandas was really really really fast.

from iced.

concatenize avatar concatenize commented on August 21, 2024

Aha! Looks like this has come up before.

nservant/HiC-Pro#43

from iced.

concatenize avatar concatenize commented on August 21, 2024

I am going to close this because the fix worked (and apparently it was already known, rather than just something I got lucky on).

from iced.

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.