question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fatal error: qpdf/Constants.h - pip3 install ocrmypdf and pikepdf on ubuntu win10 subsystem failed

See original GitHub issue

Hi,

there was a thread with the same problem that is closed meanwhile and did not solve my problem. I try to install ocrmypdf on ubuntu LTS 18.04 subsystem for Windows 10 I run into:

src/qpdf/annotation.cpp:11:10: fatal error: qpdf/Constants.h: No such file or directory #include <qpdf/Constants.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. and subsequent errors.

What can I do?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:23

github_iconTop GitHub Comments

18reactions
Jeparrecommented, May 16, 2020

Try that: python3 -m pip install --upgrade pip

Then: python3 -m pip install pikepdf

12reactions
jbarlow83commented, Dec 7, 2019

Pinned because this issue is common.

Read more comments on GitHub >

github_iconTop Results From Across the Web

fatal error: qpdf/Constants.h - pip3 install ocrmypdf ... - GitHub
I try to install ocrmypdf on ubuntu LTS 18.04 subsystem for Windows 10 I run into: src/qpdf/annotation.cpp:11:10: fatal error: qpdf/Constants.h: ...
Read more >
fatal error: qpdf/Constants.h - pip3 install ocrmypdf and ...
Hi,. there was a thread with the same problem that is closed meanwhile and did not solve my problem. I try to install...
Read more >
Installing OCRmyPDF - Read the Docs
The easiest way to install OCRmyPDF is to follow the steps for your ... or Ubuntu 18.04 or later, including users of Windows...
Read more >
Installing OCRmyPDF — ocrmypdf 9.6.0 documentation
The easiest way to install OCRmyPDF is to follow the steps for your operating ... Installing on Windows Subsystem for Linux; Installing with...
Read more >
Installing OCRmyPDF — ocrmypdf 12.0.1 documentation
This version may be out of date, however. These platforms have one-liner installs: Debian, Ubuntu, apt install ocrmypdf.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found