I have tried many ways to install gi on my Mint17.02.
zen@zen:~ > sudo pip3 install gi
zen@zen:~ > sudo python3.4 -m pip install gi
Requirement already satisfied (use --upgrade to upgrade): gi in /usr/local/lib/python3.4/site-packages
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python3.4/site-packages (from gi)
zen@zen:~ > sudo python3.4
Python 3.4.3 (default, Sep 2 2015, 01:05:11)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/site-packages/gi/__init__.py", line 39
print url
^
SyntaxError: Missing parentheses in call to 'print'
/usr/bin
, install it somewhere else first then reinstall the system packagespython3
andpython3-gi