Git Product home page Git Product logo

Comments (7)

aq1 avatar aq1 commented on September 14, 2024

Oh my. That's interesting. I've been trying to package my program with pyinstaller and I received the same error when I had tried to run the build. What I did was to edit source of this library a little - replace
from namespaces import TABLENS
with
from odf.namespaces import TABLENS
After that the build worked.
Of course you have to do it with every import in every file. But there is not so much files. It takes 5 minutes.
Also, you can find source of the library with this command:

import odf
print(odf.__file__)

from odfpy.

chfw avatar chfw commented on September 14, 2024

Can you submit a PR instead?

from odfpy.

aq1 avatar aq1 commented on September 14, 2024

Yeah. I was thinking about It.
I will do it a little bit later when I get to home.

from odfpy.

chfw avatar chfw commented on September 14, 2024

Your PR works perfectly with python 3.3, 3.4, 3.5. Here is how it was before

from odfpy.

aq1 avatar aq1 commented on September 14, 2024

Glad to hear it.
Also, you know about my problem: I just replaced odfpy in my requirements.txt file and now I don't have to wait for PR to be accepted. But this is temporary workaround of course.
aq1/Hospital-Helper-2@47f72dd

from odfpy.

chfw avatar chfw commented on September 14, 2024

Great that you found a way to use your own fork in your project.

To all, I indeed need PR #36 to go into the next release to address pyexcel/pyexcel-ods#8

from odfpy.

chfw avatar chfw commented on September 14, 2024

Waiting for next pypi release that contains #36

from odfpy.

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.