Closed SB2020-eye closed 3 years ago
We don't develop for Windows, our target system is Ubuntu 18.04. I guess, Windows cannot deal with UNIX-like path like ./ocrd-tool.json
.
I would strongly recommnd to either install it inside a Linux VM or to use the ocrd_all
Docker images which include sbb_binarization. With the latter option, you only need to install Docker and nothing else.
Ah, no, the issue is that ocrd-tool.json
in the root repo is a symlink to the actual file and Windows does not support symlinks.
Thanks, @kba. Just for closure: Is there a way you know of, off the top of your head, I can simply "replace" the symlink? Or otherwise workaround this to install sbb_binarization?
You could copy /sbb_binarize/ocrd-tool.json
to the root of the repository, that should fix the setup.py problem. But you will probably run into more difficulty on Windows.
Maybe @stefanCCS has an idea? While also not able to successfully install on Windows, it appears he got a little further at least...otherwise you may want to try Docker or WSL.
I copied /sbb_binarize/ocrd-tool.json
to the repository root (and just renamed the file already in the root with the same name), and everything has appeared to install. I gave it a test run once, and sure enough, I received a binarized output. So at least for now: so far, so good! Thank you!!!
Hi. Running on Windows 10 OS. Using Visual Studio Code.
Running
(myenvironmentname) PS C:\users\scott\desktop\python2\sbb_binarization> pip install .
I keep getting the following:I'm very new at all this. And my (beginner) language is Python. I don't understand the json stuff. Any help getting this installed would be greatly appreciated. :)