Can't install pygobject in pycharm 5.03

+1 Karol Michniewicz · December 30, 2015
Hello,
I am quite new to programming and for now I chose to start with python. I mostly watch some youtube tutorials and in on of them I came across GTK+3 libraries and much to my dissapointment I can't install it in my pycharm_community_503 IDE ( it's the PyGObject package as listed in Project Interpreter Available Packages). Whenever I try to do it I get this:

Collecting PyGObject
Using cached pygobject-2.28.3.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\Karol\AppData\Local\Temp\pycharm-packaging0.tmp\PyGObject\setup.py", line 272
raise SystemExit, 'ERROR: Nothing to do, gio could not be found and is essential.'
^
SyntaxError: invalid syntax

I installed python 3.5 in a default directory. I installed some packeges like beautifulsoup4 or beautifulscraper without any problems. Someone suggested me to install package through terminal but I have absolutely no idea how to do it also.
Please help this young boy ;)
With regards,
Karol M.

Post a Reply

Replies

Oldest  Newest  Rating
0 Mohammad Mahjoub · July 23, 2016
Some problem ny man 
0 Vincent Gizzarelli · July 28, 2016
To install it through terminal you need to use the python package manager, pip.

You could try doing 
pip install pygobject

in the terminal.

if that doesn't work you could also try installing it from here:
https://sourceforge.net/projects/pygobjectwin32/
  • 1

Python

128,116 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator