Comments (7)
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.
Can you submit a PR instead?
from odfpy.
Yeah. I was thinking about It.
I will do it a little bit later when I get to home.
from odfpy.
Your PR works perfectly with python 3.3, 3.4, 3.5. Here is how it was before
from odfpy.
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.
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.
Waiting for next pypi release that contains #36
from odfpy.
Related Issues (20)
- Table of contents HOT 1
- TypeError while height and width while defining the frame
- document on write formula with fraction/integral/matrix/... ?
- Automaticstyle not added into content xml HOT 1
- Linebreaks not picked up HOT 5
- Wrong AttributeError in setAttribute due to removing hyphens from attribute names HOT 1
- Cloning Subtrees
- clonespannedcolumns should not be in examples
- Iterate on All P forget Header paragraph
- Improve README.md with project status HOT 13
- How to create a table in a Text document? HOT 7
- Lost the numbers
- Would you release 1.4.2 version to pypi ? HOT 1
- ODF2XHTML throws an error if the document has a footnote or endnote in it
- Replace text
- Is there a way to generate the page breaks in an odt without having to open it manually first?
- Reverse Engineering Question HOT 1
- Open encrypted files HOT 1
- Python Wheel support
- Write functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odfpy.