Open adeprez opened 9 months ago
Hi Alexis,
I want to ask have you solved this problem? I also met this issue.
Weiqing
Hi Weiqing,
I couldn't make it work. I'm looking at other implementations advised by http://rdf2vec.org/#implementations
Tracing down the issue: https://github.com/pallets/werkzeug/issues/2693 "The following commit in Werkzeug changed the Werkzeug developer server to drop any header fields with underscores:" problem is requirements_file has the underscore.
To "solve" the issue: pip install Flask==2.2.0 pip install Werkzeug==2.2.0
note that this is no fix. the actual fix should be removing the underscores in the request header names because "_" and "-" are both mapped to "_" by standard in request headers. To avoid ambiguity, variables with underscores are ignored by many frameworks entirely. See: https://stackoverflow.com/a/22856867
Hello,
I would like to try jRDF2Vec for an open source project leveraging RDF embeddings. To make somes tests I wanted to use it through command-line interface. It fails when I check the installation using
java -jar jrdf2vec-1.3-SNAPSHOT.jar -checkInstallation
.Python and Java are both installed with versions matching the docs, and I tried on both Windows and Mac computers with similar errors.
jRDF2Vec version : 1.3 OS : Mac & Windows Java version : tried with 11 & 1.8.0_291 Python version : 3.12.1
1. pkg_resources is missing
Installing the
setuptools
dependency fixed it2. It looks like the requirements_file is absent from the request headers.
Python server logs :
3. The check fails with error 500
Command output :
Do you have any idea of what could be missing?
Thank you for your support and sorry for the long post, Alexis