-
Notifications
You must be signed in to change notification settings - Fork 511
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
Unable to use fitz with python 3.8 #523
Comments
The error lines quoted from |
@akjanik, Hi Adam, how have you managed to solve the issue? I got the same issue, pl. shed a light. |
@G4al I have created new venv and run just
without running
|
|
While using fritz, it is adding the inverted image. Did anyone faced this issue? Please find the below code that I am using: `import fitz # <-- PyMuPDF for pageNo, page in enumerate(doc): doc.saveIncr() |
|
|
Thanks a lot! |
Wish I saw those comments earlier! Thanks! |
Describe the bug (mandatory)
Trying to run python script that have
import fitz
cause an error if used with virtualenv with python 3.8.To Reproduce (mandatory)
Create virtualenv using python 3.8.
pip install pymupdf
add
import fitz
at the beginning of the fileobserve stacktrace
Expected behavior (optional)
It should import library
Your configuration (mandatory)
I can't provide
fitz.__doc__
because importing does not work :)For example, the output of
print(sys.version, "\n", sys.platform, "\n", fitz.__doc__)
would be sufficient (for the first two bullets).Additional context (optional)
It works with python 3.6 venv.
The text was updated successfully, but these errors were encountered: