Problem with Python

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with Python

Eduardo Hurtado-2

Hi everyone,

 

I have spss 15, and Install python 2.4.3 and the correspondent plugin ,  but a get the  next message:

 

Traceback (most recent call last):

  File "<string>", line 1, in ?

ImportError: No module named samplelib

 

Where can I find this library?

 

 

I run the next syntax and eveything ok.

BEGIN PROGRAM.

print "ok"

END PROGRAM.

 

 

Thanks for your help.

 

AUBERTH EDUARDO HURTADO DÍAZ.

Consultor Estadístico

Invamer S.A. - Gallup Colombia

.........................................................................................................................

Medellín – Colombia  |  Calle 32F No. 81-47  |  Tel: (4) 2507080 Ext. 123  |  Fax: 2506994

[hidden email]

www.invamer.com.co

.........................................................................................................................

 

Reply | Threaded
Open this post in threaded view
|

Re: Problem with Python

Peck, Jon

You don’t say what code you are running when you get the import error.  What are you trying to do?  There is a samplelib referred to in an example in the Data Management book, but it is a library that you create.

 

HTH,

Jon Peck

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Eduardo Hurtado
Sent: Thursday, August 06, 2009 3:53 PM
To: [hidden email]
Subject: [SPSSX-L] Problem with Python

 

Hi everyone,

 

I have spss 15, and Install python 2.4.3 and the correspondent plugin ,  but a get the  next message:

 

Traceback (most recent call last):

  File "<string>", line 1, in ?

ImportError: No module named samplelib

 

Where can I find this library?

 

 

I run the next syntax and eveything ok.

BEGIN PROGRAM.

print "ok"

END PROGRAM.

 

 

Thanks for your help.

 

AUBERTH EDUARDO HURTADO DÍAZ.

Consultor Estadístico

Invamer S.A. - Gallup Colombia

.........................................................................................................................

Medellín – Colombia  |  Calle 32F No. 81-47  |  Tel: (4) 2507080 Ext. 123  |  Fax: 2506994

[hidden email]

www.invamer.com.co

.........................................................................................................................

 

Reply | Threaded
Open this post in threaded view
|

Re: Problem with Python

Auberth Hurtado

Thank you so much. Just tell me what is in that book I remembered where to find the library.

 

Eduardo Hurtado.

 

De: SPSSX(r) Discussion [mailto:[hidden email]] En nombre de Peck, Jon
Enviado el: Jueves, 06 de Agosto de 2009 11:12 a.m.
Para: [hidden email]
Asunto: Re: Problem with Python

 

You don’t say what code you are running when you get the import error.  What are you trying to do?  There is a samplelib referred to in an example in the Data Management book, but it is a library that you create.

 

HTH,

Jon Peck

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Eduardo Hurtado
Sent: Thursday, August 06, 2009 3:53 PM
To: [hidden email]
Subject: [SPSSX-L] Problem with Python

 

Hi everyone,

 

I have spss 15, and Install python 2.4.3 and the correspondent plugin ,  but a get the  next message:

 

Traceback (most recent call last):

  File "<string>", line 1, in ?

ImportError: No module named samplelib

 

Where can I find this library?

 

 

I run the next syntax and eveything ok.

BEGIN PROGRAM.

print "ok"

END PROGRAM.

 

 

Thanks for your help.

 

AUBERTH EDUARDO HURTADO DÍAZ.

Consultor Estadístico

Invamer S.A. - Gallup Colombia

...........................................................................................................................

Medellín – Colombia  |  Calle 32F No. 81-47  |  Tel: (4) 2507080 Ext. 123  |  Fax: 2506994

[hidden email]

www.invamer.com.co

...........................................................................................................................