Can't install GASP

Asked by JFoster

This is the Traceback I get when I try to import GASP

IDLE 2.6.2
>>> import gasp

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gasp
  File "C:\Python26\lib\site-packages\gasp\__init__.py", line 15, in <module>
    from api import *
  File "C:\Python26\lib\site-packages\gasp\api.py", line 14, in <module>
    import backend
  File "C:\Python26\lib\site-packages\gasp\backend.py", line 20, in <module>
    import gobject
  File "C:\Python26\lib\site-packages\gtk-2.0\gobject\__init__.py", line 30, in <module>
    from gobject.constants import *
  File "C:\Python26\lib\site-packages\gtk-2.0\gobject\constants.py", line 22, in <module>
    from _gobject import type_from_name
ImportError: DLL load failed: The specified module could not be found.

I get a different Traceback with Python 3.1:

Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import gasp
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gasp
  File "C:\Python31\lib\site-packages\gasp\__init__.py", line 15, in <module>
    from api import *
ImportError: No module named api
>>>

Any advice that you can offer would be greatly appreciated.

>>>

Question information

Language:
English Edit question
Status:
Expired
For:
GASP Core Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Luke Faraone (lfaraone) said :
#1

Hi,

Gasp does not currently work well outofthebox on Python 2.6 on Windows.

Can you install Python 2.5 and try again?

Revision history for this message
JFoster (pharmacyguy42) said :
#2

Hi!

Thanks for getting back to me.

I installed Python 2.5 as you suggested and then installed GASP from this link: http://edge.launchpad.net/gasp-core/0.3.x/0.3.2/+download/python-gasp-0.3.2~win32-2.exe

This is what I get now:

Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

    ****************************************************************
    Personal firewall software may warn about the connection IDLE
    makes to its subprocess using this computer's internal loopback
    interface. This connection is not visible on any external
    interface and no data is sent to or received from the Internet.
    ****************************************************************

IDLE 1.2
>>> import GASP

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import GASP
ImportError: No module named GASP
>>>

Hope you can help!

Thanks in advance.

Jude

--- On Tue, 9/1/09, Luke Faraone <email address hidden> wrote:

> From: Luke Faraone <email address hidden>
> Subject: Re: [Question #81636]: Can't install GASP
> To: <email address hidden>
> Date: Tuesday, September 1, 2009, 5:22 PM
> Your question #81636 on GASP Core
> changed:
> https://answers.edge.launchpad.net/gasp-core/+question/81636
>
>     Status: Open => Needs information
>
> Luke Faraone requested for more information:
> Hi,
>
> Gasp does not currently work well outofthebox on Python 2.6
> on Windows.
>
> Can you install Python 2.5 and try again?
>
> --
> To answer this request for more information, you can either
> reply to
> this email or enter your reply at the following page:
> https://answers.edge.launchpad.net/gasp-core/+question/81636
>
> You received this question notification because you are a
> direct
> subscriber of the question.
>

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

On Tue, Sep 1, 2009 at 21:48, JFoster
<email address hidden>wrote:

>
> IDLE 1.2
> >>> import GASP

You are supposed to "import gasp", not GASP, as module names in python are
canonically lowercase.

--
Luke Faraone
http://luke.faraone.cc

Revision history for this message
JFoster (pharmacyguy42) said :
#4

Sorry about that...

This is what I get when I do that:

IDLE 1.2
>>> import gasp

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gasp
  File "C:\Python25\Lib\site-packages\gasp\__init__.py", line 15, in <module>
    from api import *
  File "C:\Python25\Lib\site-packages\gasp\api.py", line 26, in <module>
    import backend
  File "C:\Python25\Lib\site-packages\gasp\backend.py", line 23, in <module>
    import multiprocessing
ImportError: No module named multiprocessing
>>>

--- On Wed, 9/2/09, Luke Faraone <email address hidden> wrote:

> From: Luke Faraone <email address hidden>
> Subject: Re: [Gasp-dev] [Question #81636]: Can't install GASP
> To: <email address hidden>
> Date: Wednesday, September 2, 2009, 10:15 AM
> Your question #81636 on GASP Core
> changed:
> https://answers.launchpad.net/gasp-core/+question/81636
>
>     Status: Open => Answered
>
> Luke Faraone proposed the following answer:
> On Tue, Sep 1, 2009 at 21:48, JFoster
> <email address hidden>wrote:
>
> >
> > IDLE 1.2
> > >>> import GASP
>
>
> You are supposed to "import gasp", not GASP, as module
> names in python are
> canonically lowercase.
>
> --
> Luke Faraone
> http://luke.faraone.cc
>
> --
> If this answers your question, please go to the following
> page to let us
> know that it is solved:
> https://answers.launchpad.net/gasp-core/+question/81636/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go
> to the
> following page to enter your feedback:
> https://answers.launchpad.net/gasp-core/+question/81636
>
> You received this question notification because you are a
> direct
> subscriber of the question.
>

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

On Wed, Sep 2, 2009 at 18:42, JFoster
<email address hidden>wrote:

> ImportError: No module named multiprocessing
>

Download and install
http://pypi.python.org/packages/2.5/m/multiprocessing/multiprocessing-2.6.2.1.win32-py2.5.exe?

--
Luke Faraone
http://luke.faraone.cc

Revision history for this message
JFoster (pharmacyguy42) said :
#6

okay, I downloaded multiprocessing-2.6.2.1.win32-py2.5.exe? and when I tried to import gasp I was told that it needed the cairo module. I downloaded an earlier version of cairo that worked with python 2.5 (pycairo-1.2.6-1.win32-py2.5.exe) and that seemed to fix that situation but now I get this:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gasp
  File "C:\Python25\Lib\site-packages\gasp\__init__.py", line 15, in <module>
    from api import *
  File "C:\Python25\Lib\site-packages\gasp\api.py", line 26, in <module>
    import backend
  File "C:\Python25\Lib\site-packages\gasp\backend.py", line 26, in <module>
    import cairo
  File "C:\Python25\Lib\site-packages\cairo\__init__.py", line 1, in <module>
    from _cairo import *
ImportError: DLL load failed: The specified module could not be found.

I appreciate your help.

thank you

-Jude

--- On Wed, 9/2/09, Luke Faraone <email address hidden> wrote:

> From: Luke Faraone <email address hidden>
> Subject: Re: [Gasp-dev] [Question #81636]: Can't install GASP
> To: <email address hidden>
> Date: Wednesday, September 2, 2009, 7:09 PM
> Your question #81636 on GASP Core
> changed:
> https://answers.launchpad.net/gasp-core/+question/81636
>
>     Status: Open => Answered
>
> Luke Faraone proposed the following answer:
> On Wed, Sep 2, 2009 at 18:42, JFoster
> <email address hidden>wrote:
>
> > ImportError: No module named multiprocessing
> >
>
> Download and install
> http://pypi.python.org/packages/2.5/m/multiprocessing/multiprocessing-2.6.2.1.win32-py2.5.exe?
>
> --
> Luke Faraone
> http://luke.faraone.cc
>
> --
> If this answers your question, please go to the following
> page to let us
> know that it is solved:
> https://answers.launchpad.net/gasp-core/+question/81636/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go
> to the
> following page to enter your feedback:
> https://answers.launchpad.net/gasp-core/+question/81636
>
> You received this question notification because you are a
> direct
> subscriber of the question.
>

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

On Thu, Sep 3, 2009 at 09:57, JFoster
<email address hidden>wrote:

> Question #81636 on GASP Core changed:
> https://answers.launchpad.net/gasp-core/+question/81636
>
> Status: Answered => Open
>
> JFoster is still having a problem:
> okay, I downloaded multiprocessing-2.6.2.1.win32-py2.5.exe? and when I
> tried to import gasp I was told that it needed the cairo module. I
> downloaded an earlier version of cairo that worked with python 2.5
> (pycairo-1.2.6-1.win32-py2.5.exe) and that seemed to fix that situation
> but now I get this:

Hm. Maybe try
http://techblog.ironfroggy.com/2007/01/python-on-windows-and-path.html ?

--
Luke Faraone
http://luke.faraone.cc

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

LinkedIn
------------

I'd like to add you to my professional network on LinkedIn.

- Luke

Luke Faraone
Software Engineer at Humbug, Inc.
Greater Boston Area

Confirm that you know Luke Faraone:
https://www.linkedin.com/e/-hfqd0w-hgdqfkj9-u/isd/13023840042/MSOGZRhE/?hs=false&tok=0FOGnqSM-UT5I1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/-hfqd0w-hgdqfkj9-u/xuYhwYrLdovvuXuZsIuFqYOZdNtXhcThccSUdY5zIrMdkg89nB22/goo/question81636%40answers%2Elaunchpad%2Enet/20061/I4312099752_1/?hs=false&tok=2wz2KXmdWUT5I1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

Revision history for this message
JFoster (pharmacyguy42) said :
#9
Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Open' state without activity for the last 15 days.