Open chenzuoli opened 3 years ago
(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'
(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'
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 commandcode2pdf -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'