How can I install odfpy?
I tried
I got only an error:
The logfile says probably only the same, but with more words:
Or is there an better alternative if I simply want to read the contents of an OO/LO spreadsheet (*.ods)?
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:
Output:------------------------------------------------------------
G:\Programme\pythonxy\Python27\lib\site-packages\pip\__main__.py run on 10/05/16 17:41:11
Downloading/unpacking setup.py
Getting page https://pypi.python.org/simple/setup.py/
Could not fetch URL https://pypi.python.org/simple/setup.py/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/setup.py/ (Caused by <class 'socket.gaierror'>: [Errno 11001] getaddrinfo failed)
Will skip URL https://pypi.python.org/simple/setup.py/ when looking for download links for setup.py
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by <class 'socket.gaierror'>: [Errno 11001] getaddrinfo failed)
Will skip URL https://pypi.python.org/simple/ when looking for download links for setup.py
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for setup.py:
* https://pypi.python.org/simple/setup.py/
Getting page https://pypi.python.org/simple/setup.py/
Could not fetch URL https://pypi.python.org/simple/setup.py/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/setup.py/ (Caused by <class 'socket.gaierror'>: [Errno 11001] getaddrinfo failed)
Will skip URL https://pypi.python.org/simple/setup.py/ when looking for download links for setup.py
Could not find any downloads that satisfy the requirement setup.py
Cleaning up...
Removing temporary dir g:\dokume~1\k\lokale~1\temp\pip_build_K...
No distributions at all found for setup.py
Exception information:
Traceback (most recent call last):
File "G:\Programme\pythonxy\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "G:\Programme\pythonxy\Python27\lib\site-packages\pip\commands\install.py", line 279, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "G:\Programme\pythonxy\Python27\lib\site-packages\pip\req.py", line 1192, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "G:\Programme\pythonxy\Python27\lib\site-packages\pip\index.py", line 281, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for setup.py
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)?