2016-11-12 22:35:10 |
Bob Merhebi |
description |
I tried launching it from the terminal after installing Python module 'gi' using pip under anaconda3. It returns the following (Python 3) syntax error:
~ /opt/nonotifs/nonotifs/no_notifs
Traceback (most recent call last):
File "/opt/nonotifs/nonotifs/no_notifs", line 4, in <module>
import gi
File "/home/user/anaconda3/lib/python3.5/site-packages/gi/__init__.py", line 39
print url
^
SyntaxError: Missing parentheses in call to 'print'
I think you only need to pt in parentheses. |
I tried launching it from the terminal after installing Python module 'gi' using pip under anaconda3. It returns the following (Python 3) syntax error:
~ /opt/nonotifs/nonotifs/no_notifs
Traceback (most recent call last):
File "/opt/nonotifs/nonotifs/no_notifs", line 4, in <module>
import gi
File "/home/user/anaconda3/lib/python3.5/site-packages/gi/__init__.py", line 39
print url
^
SyntaxError: Missing parentheses in call to 'print'
I think you only need to pt in parentheses.
Update: I noticed I wasn't running it with python3 before it. Running `~/python3 /opt/nonotifs/nonotifs/nonotifs_tools.py` runs it (shows processes in htop) but no window is launched and it doesn't work (i.e. block notifications) under Gnome 3. |
|
2016-11-12 22:35:39 |
Bob Merhebi |
description |
I tried launching it from the terminal after installing Python module 'gi' using pip under anaconda3. It returns the following (Python 3) syntax error:
~ /opt/nonotifs/nonotifs/no_notifs
Traceback (most recent call last):
File "/opt/nonotifs/nonotifs/no_notifs", line 4, in <module>
import gi
File "/home/user/anaconda3/lib/python3.5/site-packages/gi/__init__.py", line 39
print url
^
SyntaxError: Missing parentheses in call to 'print'
I think you only need to pt in parentheses.
Update: I noticed I wasn't running it with python3 before it. Running `~/python3 /opt/nonotifs/nonotifs/nonotifs_tools.py` runs it (shows processes in htop) but no window is launched and it doesn't work (i.e. block notifications) under Gnome 3. |
I tried launching it from the terminal after installing Python module 'gi' using pip under anaconda3. It returns the following (Python 3) syntax error:
~ /opt/nonotifs/nonotifs/no_notifs
Traceback (most recent call last):
File "/opt/nonotifs/nonotifs/no_notifs", line 4, in <module>
import gi
File "/home/user/anaconda3/lib/python3.5/site-packages/gi/__init__.py", line 39
print url
^
SyntaxError: Missing parentheses in call to 'print'
I think you only need to put in parentheses.
Update: I noticed I wasn't running it with python3 before it. Running `~/python3 /opt/nonotifs/nonotifs/nonotifs_tools.py` runs it (shows processes in htop) but no window is launched and it doesn't work (i.e. block notifications) under Gnome 3. |
|