Installation problem

Asked by kartal

Hi

I am getting this error while trying to install under Python 2.6 windows.

Searching for pygobject==2.14.2
Reading http://pypi.python.org/simple/pygobject/
No local packages or download links found for pygobject==2.14.2
error: Could not find suitable distribution for Requirement.parse('pygobject==2.14.2')

Question information

Language:
English Edit question
Status:
Answered
For:
GASP Core Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Luke Faraone (lfaraone) said :
#1

Can you try installing the PyGobject egg from http://pypi.python.org/pypi/PyGObject/2.10.1 and see if that works? (and possibly edit gasp's setup.py to require PyGobject, as it looks like PyPI is case-sensitive)

Tell us how that works out for you.

-Luke Faraone

Revision history for this message
kartal (gecicigec) said :
#2

Hi

Well I actually had pygobject (pygobject-2.14.2-2.win32-py2.6) installed. For some reason gasp does not recognize installed pygobject.

I am not sure if I should rollback to 2.10 by installing the egg version

Revision history for this message
kartal (gecicigec) said :
#3

Hi
I tried the 0.3.1 installer and the installers of pygtk,cairo and pygobjects. After all the installation when I type import gasp int e command line I get this

E:\Python26\lib\site-packages\gasp-0.3.1-py2.6.egg\gasp\__init__.py in <module>()
     12 # You should have received a copy of the GNU General Public License

     13 # along with this program. If not, see <http://www.gnu.org/licenses/>.

     14
---> 15 from api import *
     16 import color

E:\Python26\lib\site-packages\gasp-0.3.1-py2.6.egg\gasp\api.py in <module>()
     12 # along with this program. If not, see <http://www.gnu.org/licenses/>.

     13
---> 14 import backend
     15 import math
     16 import random

E:\Python26\lib\site-packages\gasp-0.3.1-py2.6.egg\gasp\backend.py in <module>()
     18 import multiprocessing
     19 import threading
---> 20 import gobject
     21 import time
     22 import gtk

E:\Python26\lib\site-packages\gtk-2.0\gobject\__init__.py in <module>()
     28 pass
     29
---> 30 from gobject.constants import *
     31 from _gobject import *
     32 _PyGObject_API = _gobject._PyGObject_API

E:\Python26\lib\site-packages\gtk-2.0\gobject\constants.py in <module>()
     20 # USA

     21
---> 22 from _gobject import type_from_name
     23
     24 # TYPE_INVALID defined in gobjectmodule.c

ImportError: DLL load failed: The specified procedure could not be found.

Revision history for this message
kartal (gecicigec) said :
#4

Sorry this is not resolved

Revision history for this message
Luke Faraone (lfaraone) said :
#5

Are you able to import gobject at all from the command line?

Revision history for this message
Luke Faraone (lfaraone) said :
#6

Are you able to import gobject at all from the command line?

Revision history for this message
kartal (gecicigec) said :
#7

Hi

This is what I am getting after import gobject

In [53]: import gobject
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

C:\ayarlar\<ipython console> in <module>()

E:\Python26\lib\site-packages\gtk-2.0\gobject\__init__.py in <module>()
     28 pass
     29
---> 30 from gobject.constants import *
     31 from _gobject import *
     32 _PyGObject_API = _gobject._PyGObject_API

E:\Python26\lib\site-packages\gtk-2.0\gobject\constants.py in <module>()
     20 # USA

     21
---> 22 from _gobject import type_from_name
     23
     24 # TYPE_INVALID defined in gobjectmodule.c

ImportError: DLL load failed: The specified procedure could not be found.

Revision history for this message
Luke Faraone (lfaraone) said :
#8

Okay. One last thing: can you install the GTK+ runtime from http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/ ?

Can you help with this problem?

Provide an answer of your own, or ask kartal for more information if necessary.

To post a message you must log in.