How to install odfpy? (or a better alternative?) - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: How to install odfpy? (or a better alternative?) (/thread-315.html) |
How to install odfpy? (or a better alternative?) - merlem - Oct-05-2016 How can I install odfpy? I tried python -m pip install setup.pyfrom the directory in which I unpacked odfpy-master.zip. I got only an error: Could not find any downloads that satisfy the requirement setup.pyWell, why at all? The files are stord on my PC. No need to download anything. The logfile says probably only the same, but with more words: So, how can I install the stored odfpy?Or is there an better alternative if I simply want to read the contents of an OO/LO spreadsheet (*.ods)? RE: How to install odfpy? (or a better alternative?) - wavic - Oct-05-2016 What happens if you do $ python setup.py RE: How to install odfpy? (or a better alternative?) - merlem - Oct-05-2016 I get another error, basically: error: no commands suppliedThere is some more text about usage of setup.py, but I guess that's not so important. I'm working with WinXP and Python 2.7. RE: How to install odfpy? (or a better alternative?) - wavic - Oct-05-2016 Try full path to python.exe as a command. For example: cd path_to_setup_file C:\>Python2.7\python27.exe setup.py I am using Linux I hope some Windows guy will answer adequate. I am guessing now. RE: How to install odfpy? (or a better alternative?) - merlem - Oct-05-2016 Result is the same. It says: By the way, in the Help there is a comment: " If this text is within a popup that you cannot copy the text out of, please use this tool to acquire the text from within it (for windows users)."Unfortunately, there is no link provided for "this tool" :-( .... But it might be helpful, I guess. RE: How to install odfpy? (or a better alternative?) - wavic - Oct-05-2016 run in the terminal python setup.py --help-commands I am guessing it will print available setup.py commands RE: How to install odfpy? (or a better alternative?) - merlem - Oct-05-2016 Thanks a lot - that is working now! From the list I got I picked and that makes the python command 'import odf' working. Many, many thanks for the fast and patient help :-) ! RE: How to install odfpy? (or a better alternative?) - wavic - Oct-05-2016 Good! Just read the output. I didn't done anything else. |