Open stweil opened 2 years ago
No idea. Note that ocrd-fork-pycocotools
is https://github.com/bertsky/cocoapi – I only added a few fixes.
Meanwhile, I have merged from upstream. Please try again now (I have made a release 2.0.6.post1).
If it does not work, please try out upstream https://github.com/ppwwyyxx/cocoapi directly (make -C PythonAPI
), and perhaps open an issue there.
python -m pip install --use-feature=in-tree-build
does not work there. Just python -m pip install .
is fine.
I don't know what in-tree-build
is.
So you are saying that MacOS works if you install manually? Or that you can pip install from the new src tarball on PyPI?
Ah, got it. Hard to tell from here. But could you try python setup.py build_ext install
(which is in upstream's upstream)?
Another thing you could try: setting ARCHFLAGS="-arch x86_64"
during compilation.
Why? I don't want to build for x86_64 on my M1.
Running
make all
forocrd_all
orpip install .
forocrd_segment
fails on MacOS with Homebrew: