chrismattmann / tika-python

Tika-Python is a Python binding to the Apache Tika™ REST services allowing Tika to be called natively in the Python community.
Apache License 2.0
1.51k stars 234 forks source link

unable to run tika #401

Closed riyaj8888 closed 1 year ago

riyaj8888 commented 1 year ago

import tika from tika import parser tika.initVM() parsed = parser.from_file(file_path) print(parsed["metadata"]) print(parsed["content"])

URLError

2023-09-12 15:50:10,306 [MainThread ] [INFO ] Retrieving C:\Users\user\Downloads\apache.md5 to C:\Users\user\AppData\Local\Temp\tika-server.jar.md5.

chrismattmann commented 1 year ago

hi @riyaj8888 make sure your temporary folder is writeable and you are connected to the Internet.