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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to run tika

riyaj8888 opened this issue · comments

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.

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