Skip to content
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

No moudle named PyQt4 #34

Open
chenzuoli opened this issue Jun 11, 2021 · 2 comments
Open

No moudle named PyQt4 #34

chenzuoli opened this issue Jun 11, 2021 · 2 comments

Comments

@chenzuoli
Copy link

I am using macbook pro 13, bigsur 11.4, python3.7, I have installed code2pdf 1.0.0 version
I got error no module named PyQt4 with command code2pdf -h, I got requirements with PyQt5, so why is this with PyQt4?
(base) [chenzuoli@chenzuolis-MacBook /Users/chenzuoli/PycharmProjects]$code2pdf -h Traceback (most recent call last): File "/Users/chenzuoli/opt/anaconda3/bin/code2pdf", line 5, in <module> from Code2pdf.code2pdf import main File "/Users/chenzuoli/opt/anaconda3/lib/python3.7/site-packages/Code2pdf/code2pdf.py", line 2, in <module> from PyQt4.QtGui import QTextDocument, QPrinter, QApplication ModuleNotFoundError: No module named 'PyQt4'

@chenzuoli
Copy link
Author

(base) [chenzuoli@chenzuolis-MacBook /Users/chenzuoli/PycharmProjects]$code2pdf -h Traceback (most recent call last): File "/Users/chenzuoli/opt/anaconda3/bin/code2pdf", line 5, in <module> from Code2pdf.code2pdf import main File "/Users/chenzuoli/opt/anaconda3/lib/python3.7/site-packages/Code2pdf/code2pdf.py", line 2, in <module> from PyQt4.QtGui import QTextDocument, QPrinter, QApplication ModuleNotFoundError: No module named 'PyQt4'

1 similar comment
@chenzuoli
Copy link
Author

(base) [chenzuoli@chenzuolis-MacBook /Users/chenzuoli/PycharmProjects]$code2pdf -h Traceback (most recent call last): File "/Users/chenzuoli/opt/anaconda3/bin/code2pdf", line 5, in <module> from Code2pdf.code2pdf import main File "/Users/chenzuoli/opt/anaconda3/lib/python3.7/site-packages/Code2pdf/code2pdf.py", line 2, in <module> from PyQt4.QtGui import QTextDocument, QPrinter, QApplication ModuleNotFoundError: No module named 'PyQt4'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant