Open ghost opened 6 years ago
kirby193, have you found a solution for this issue? If so, it would be very much appreciated if you wouldnt mind sharing it here with me as ive also encountered this exact issue and in need of help. Thanks in advance.
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py File "CreepyMain.py", line 217 except Exception, err: ^ SyntaxError: invalid syntax
Running it with just
python
returnsyuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit
, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.
use python CreepyMain.py
kirby193, have you found a solution for this issue? If so, it would be very much appreciated if you wouldnt mind sharing it here with me as ive also encountered this exact issue and in need of help. Thanks in advance.
use python CreepyMain.py
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py File "CreepyMain.py", line 217 except Exception, err: ^ SyntaxError: invalid syntax
Running it with just
python
returnsyuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit
, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.
I am facing the same issue i tried python Creepymain.py gives me this error
python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in
how to solve this error.
No module named QtWebKit
sudo apt install python-pyqt5.qtwebkit pip install PySide
run the above commands, and run the script and do let me know if this works for you
yuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python3 CreepyMain.py File "CreepyMain.py", line 217 except Exception, err: ^ SyntaxError: invalid syntax
Running it with just
python
returnsyuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit
, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.I am facing the same issue i tried python Creepymain.py gives me this error
python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit
how to solve this error.
I changed the comma to "as " .
┌──(root㉿192)-[~/jkakavas-creepy-6abeaa5/creepy] └─# python3 CreepyMain.py File "/root/jkakavas-creepy-6abeaa5/creepy/CreepyMain.py", line 217 except Exception, err: ^ SyntaxError: invalid syntax
How do the great gods need to solve it?
┌──(root㉿imran)-[/creepy/creepy]
└─# python CreepyMain.py
File "/creepy/creepy/CreepyMain.py", line 156
except Exception,err:
^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
kindly help me to resolve this issue.
┌──(root㉿imran)-[/creepy/creepy] └─# python CreepyMain.py File "/creepy/creepy/CreepyMain.py", line 156 except Exception,err: ^^^^^^^^^^^^^ SyntaxError: multiple exception types must be parenthesized
kindly help me to resolve this issue.
Try changing the comma with "as" as mentioned above
Just like : except Exception as err
so it this an error in Creepy? Or in our install? If an error in Creepy shouldn't a fix be pushed? and why is this closed cause there's no clear answer...
Did you find a solution to this yet? I'm wondering why Creepy has not fixed this problem.
Running it with just
python
returnsyuri@sleepy:~/Downloads/git/creepy/jkakavas-creepy-a861ee3/creepy$ python CreepyMain.py Traceback (most recent call last): File "CreepyMain.py", line 20, in <module> from PyQt4.QtWebKit import QWebPage, QWebSettings ImportError: No module named QtWebKit
, however since it doesn't say this when using python3, I have ignored it for now. All dependencies have been installed by direct copy paste.