-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug]: ModuleNotFoundError: No module named 'img2pdf' #1471
Comments
Hey wsshin, I’d like to work on this. Can you assign it to me? |
This is almost certainly a macports issue, so I am going to close it. If macports identifies an issue that we need to address, then open a new issue with details. |
I was able to resolve the issue. Looking at a bunch of installation messages generated during
This seemed to indicate that the Then I googled "macports img2pdf python313" and arrived this webpage, which indicates that there are several variants of
This solved the issue, and now I Hope this helps people experiencing the same issue. I just filed a MacPorts ticket: https://trac.macports.org/ticket/72013. |
What were you trying to do?
I just I installed OCRmyPDF through MacPorts; I indicated Homebrew as a installation platform below because MacPorts is not an option, and I get
ModuleNotFoundError: No module named 'img2pdf'
. See the traceback below.To avoid any conflict between MacPorts-installed packages, I uninstalled all the packages by
sudo port -fp uninstall installed
and then reinstalled ocrmypdf bysudo port install ocrmypdf
.The questionnaire below asks if the Python version is compatible with OCRmyPDF. I didn't install any Python explicitly, but I assume it is installed through MacPorts as a dependency.
How can I resolve this issue? I will appreciate any help!
Where are you installing/running from?
Homebrew
OCRmyPDF version
N/A
What operating system are you working on?
macOS
Operating system details and version
Sonoma 14.7.3
Simple sanity checks
Relevant log output
The text was updated successfully, but these errors were encountered: