-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named qurator when callling eynollah CLI #136
Comments
We have removed the Can you try |
Unfortunately, building directly from the repo gives me the following error
because windows fails to recognize the ocrd-tool.json symlink. I've simply overwritten the symlink with the actual file and eynollah now works in the command line! (at least the --help command does work) |
Ah, right, Windows does not like those. And yes, that would have been my recommended workaround. The symlink is only relevant at build time, once it has been installed, no symlinks are involved. @mikegerber Would it be possible to extend |
That's a bit of a hack :\ How does the top-level
Then it would need to find the package directory first :\ Note that I do most of my work in WSL and I would 100% recommend using that over native Windows. |
@lmarti-dev What git did you use here? Or is it included in the Python install from e.g. the Microsoft Store? (Not my platform and I need some more information to maybe fix this in setuptools-ocrd (the component that fails here)) |
(This was already an issue with |
In a checkout using the official Windows version of git, the file looks like this:
At least this looks easy enough to resolve "by hand". |
Hi @lmarti-dev and thank you for your interest in Eynollah! I am sorry but we can not support Windows (or Mac) and even if the build and executing --help work, there may still occur other issues further down the line when running Eynollah. As mentioned by @mikegerber, it works nicely in WSL which we strongly recommend to use, alternatively Docker should also do the trick. I'll leave this open for a couple of days more for feedback and otherwise hope for your understanding when I close this issue. |
Thank you both for the extensive feedback. Unfortunately, installing WSL bluescreens my computer, so that's a no go for me. I've been trying to run Eynollah beyond the --help command, but for now I've run into multiple issues not related to my using windows, but rather due to loading the models (I get a bad marshal data error which seems to be related to this issue. -- even though I'm using python 3.7 with Eynollah. I'm more familiar with pytorch than keras, so I don't know whether it's worth trying to fix it. @mikegerber I'm not sure by what you mean by "what git"? I installed Eynollah by git cloning and pip installing the repo, if that's what you're asking. |
I get the following error when trying to call eynollah in the windows terminal:
The error happens regardless of the arguments.
I installed eynollah (and nothing else) in a fresh virtual environment with Python 3.10.11.
If that helps, here are the windows specs:
Edition Windows 10 Home
Version 22H2
Installed on 05/05/2021
OS build 19045.4780
Experience Windows Feature Experience Pack 1000.19060.1000.0
The text was updated successfully, but these errors were encountered: