Re: No module named _socket, on windows

2023-02-26 Thread 2QdxY4RzWzUUiLuE
On 2023-02-25 at 15:58:35 -0800, ofek shulberg wrote: > On Monday, January 4, 2010 at 9:19:21 PM UTC+2, Gabriel Genellina wrote: > > En Mon, 04 Jan 2010 14:24:22 -0300, louisJ escribi�: > > > I installed python 2.6 (from python.org) for windows XP, and then > > > Pylab. > > > When I type "import

Re: No module named _socket, on windows

2023-02-25 Thread ofek shulberg
On Monday, January 4, 2010 at 9:19:21 PM UTC+2, Gabriel Genellina wrote: > En Mon, 04 Jan 2010 14:24:22 -0300, louisJ escribi�: > > I installed python 2.6 (from python.org) for windows XP, and then > > Pylab. > > When I type "import pylab" in a python shell it shows the error: > > > > ImportError:

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
On 1/9/2023 3:00 PM, Eryk Sun wrote: On 1/9/23, MRAB wrote: On Windows it's best to use pip via the Python Launcher: py -m pip show playsound Python's app distribution on the Microsoft Store doesn't include the py launcher, and we don't (but should) have a standalone app or desktop version

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
On 1/9/2023 2:10 PM, MRAB wrote: On Windows it's best to use pip via the Python Launcher: py -m pip show playsound Sure - I just didn't want to complicate the post any more, though I did mention it in passing. py is definitely the best way. I wonder how many people know that py can launch

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Eryk Sun
On 1/9/23, MRAB wrote: > > On Windows it's best to use pip via the Python Launcher: > > py -m pip show playsound Python's app distribution on the Microsoft Store doesn't include the py launcher, and we don't (but should) have a standalone app or desktop version of the launcher. Unlike the desktop

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread MRAB
On 2023-01-09 17:11, Thomas Passin wrote: I wrote "the most likely reason is that it got installed by a different version of python than the one that used pip to install it." That's not quite what I meant to say. Better: "the most likely reason is that you are trying to import it using a d

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
I wrote "the most likely reason is that it got installed by a different version of python than the one that used pip to install it." That's not quite what I meant to say. Better: "the most likely reason is that you are trying to import it using a different version of python than the one th

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Mats Wichmann
On 1/9/23 08:30, Thomas Passin wrote: On 1/9/2023 9:40 AM, om om wrote: I'm installing playsound pip install playsound but it keeps saying No module named playsound and this error occurs on other packages Did the installation by pip succeed? if not, what was the error message? "It keeps sayin

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
On 1/9/2023 9:40 AM, om om wrote: I'm installing playsound pip install playsound but it keeps saying No module named playsound and this error occurs on other packages Did the installation by pip succeed? if not, what was the error message? "It keeps saying ...". What keeps saying that (it's no

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread MRAB
On 2023-01-09 14:40, om om wrote: I'm installing playsound pip install playsound but it keeps saying No module named playsound and this error occurs on other packages What are you typing on the command line? Which operating system are you using? Please copy and post what you're typing (with

Re: No module named 'gi' [SOLVED]

2020-04-13 Thread Jon Danniken
On 4/13/20 8:46 PM, Jon Danniken wrote: Hello all, I am coming up with this error when, after installing Dropbox, I try to run Dropbox on my machine (kubuntu 18.04): SNIP Well it looks like I solved this issue with $pip uninstall conda. Sometimes I just have to ask a question bef

Re: No module named vtkCommonCorePython

2017-05-20 Thread Jason Friedman
> > I have a problem to finding file in Python path,Anybody knows how to solve > it? > > Unexpected error: > Traceback (most recent call last): > File > "/home/nurzat/Documents/vmtk-build/Install/bin/vmtklevelsetsegmentation", > line 20, in > from vmtk import pypeserver > File "/usr/loca

Re: No module named 'encodings' Python 3.6 on Windows 10 failure

2017-03-07 Thread MRAB
On 2017-03-08 01:24, schneid...@law.byu.edu wrote: Every attempt to make Python 3.6.0 or 3.6.1rc1 to run on Windows 10 has resulted in the error message shown below. I was running Python 3.5.2 successfully and wanted to upgrade. C:\Python36-32>python Fatal Python error: Py_Initialize: unabl

Re: No module named 'encodings' Python 3.6 on Windows 10 failure

2017-03-07 Thread eryk sun
On Wed, Mar 8, 2017 at 1:24 AM, wrote: > > Every attempt to make Python 3.6.0 or 3.6.1rc1 to run on Windows 10 > has resulted in the error message shown below. I was running Python > 3.5.2 successfully and wanted to upgrade. > > C:\Python36-32>python > Fatal Python error: Py_Initialize: unable t

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-17 Thread rurpy--- via Python-list
On 08/17/2015 01:52 AM, Laura Creighton wrote: > In a message of Sun, 16 Aug 2015 22:05:29 -0700, rurpy--- via Python-list > writes: >> So I eventually found the kivy docs on their website where they >> list prerequisite packages for installing kivy on ubuntu. I'll >> translate those to hopefull

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-17 Thread Rustom Mody
On Monday, August 17, 2015 at 10:35:48 AM UTC+5:30, rurpy wrote: > I hope someday Python gets a decent packaging/distribution story. You are in august company | The final question was about what he (Guido) hates in Python. "Anything to do | with package distribution", he answered immediately. The

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-17 Thread Laura Creighton
In a message of Sun, 16 Aug 2015 22:05:29 -0700, rurpy--- via Python-list write s: >So I eventually found the kivy docs on their website where they >list prerequisite packages for installing kivy on ubuntu. I'll >translate those to hopefully the equivalent fedora package names, >install them, re

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread Dave Farrance
shiva upreti wrote: >Hi >I am new to linux. I tried various things in attempt to install kivy. I >installed python 2.7.10 Just to make clear what others have said -- replacing Ubuntu 14.04's system Python 2.7.6 is a bad idea and will break stuff, so if you really must have the latest version of

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread rurpy--- via Python-list
On Sunday, August 16, 2015 at 10:14:29 PM UTC-6, Laura Creighton wrote: > In a message of Sun, 16 Aug 2015 20:19:49 -0700, rurpy--- via Python-list > writes: > >On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote: > >>[...] > >> use pip (maybe inside a virtualenv). It'll chug for

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread Laura Creighton
In a message of Sun, 16 Aug 2015 20:19:49 -0700, rurpy--- via Python-list write s: >On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote: >> On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti >> wrote: >> > I am new to linux. I tried various things in attempt to install kivy. I >> > i

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread rurpy--- via Python-list
On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote: > On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti > wrote: > > I am new to linux. I tried various things in attempt to install kivy. I > > installed python 2.7.10 (I think python3 was already installed in ubuntu > > 14.04). The

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread Chris Angelico
On Mon, Aug 17, 2015 at 12:51 PM, Rustom Mody wrote: > On Monday, August 17, 2015 at 7:30:14 AM UTC+5:30, Chris Angelico wrote: >> On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti wrote: >> > I am new to linux. I tried various things in attempt to install kivy. I >> > installed python 2.7.10 (I thin

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread Rustom Mody
On Monday, August 17, 2015 at 7:30:14 AM UTC+5:30, Chris Angelico wrote: > On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti wrote: > > I am new to linux. I tried various things in attempt to install kivy. I > > installed python 2.7.10 (I think python3 was already installed in ubuntu > > 14.04). Then

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread Chris Angelico
On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti wrote: > I am new to linux. I tried various things in attempt to install kivy. I > installed python 2.7.10 (I think python3 was already installed in ubuntu > 14.04). Then i downloaded kivy from > https://pypi.python.org/packages/source/K/Kivy/Kivy-1

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread Laura Creighton
In a message of Sun, 16 Aug 2015 12:16:53 -0700, shiva upreti writes: >I am still getting the error:"ImportError: No module named kivy". > >Any help will be highly appreciated. >Thanks. The preferred way to install kivy with ubuntu is to follow the instructions here: http://kivy.org/docs/installa

Re: "no module named kivy" import error in ubuntu 14.04

2015-08-16 Thread MRAB
On 2015-08-16 20:16, shiva upreti wrote: Hi I am new to linux. I tried various things in attempt to install kivy. I installed python 2.7.10 (I think python3 was already installed in ubuntu 14.04). Then i downloaded kivy from https://pypi.python.org/packages/source/K/Kivy/Kivy-1.9.0.tar.gz, extr

Re: No module named Pwd - under Apache 2.2

2011-10-21 Thread Peter Otten
durumdara wrote: > Hi! > > Win7/x64, Python 3.2, PyPGSQL f 3.2 and Apahce 2.2. > > I created a script that working in CGI mode, it is read some table, > and returns with an XML. > > It was working with normal mode, under Pyscripter, and under command > line. > > But! > > When I trying to use

Re: No module named server

2010-05-07 Thread Thomas Lehmann
On 7 Mai, 10:02, Thomas Lehmann wrote: > > Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit > > Also after installing Python 3.1.2 the problem is still there. I know the problem. Reading a book about a simple cgi web server the descriptions says to use httpd.py as name for the

Re: No module named server

2010-05-07 Thread Andi Albrecht
Thomas Lehmann schrieb: > Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit > (Intel)] on win32 > > Script: > from http.server import HTTPServer, CGIHTTPRequestHandler > > Result: > Traceback (most recent call last): > File "http.py", line 1, in > from http.server import H

Re: No module named server

2010-05-07 Thread Thomas Lehmann
> Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit Also after installing Python 3.1.2 the problem is still there. -- http://mail.python.org/mailman/listinfo/python-list

Re: no module named exceptions?

2010-04-01 Thread Ned Deily
In article , Chris Rebert wrote: > > On Thu, Apr 1, 2010 at 10:42 PM, Joaquin Abian wrote: > >> In python 3.1, > >> > >> >>> import exceptions > >> Traceback (most recent call last): > >> File "", line 1, in > >>import exceptions > >> ImportError: No module named exceptions > >> > >> in

Re: no module named exceptions?

2010-04-01 Thread Gary Herron
Joaquin Abian wrote: In python 3.1, import exceptions Traceback (most recent call last): File "", line 1, in import exceptions ImportError: No module named exceptions in 2.6 no exception is raised It should be the same in 3.1, isnt it? Joaquin In 2.x, the exceptions m

Re: no module named exceptions?

2010-04-01 Thread Chris Rebert
> On Thu, Apr 1, 2010 at 10:42 PM, Joaquin Abian wrote: >> In python 3.1, >> >> >>> import exceptions >> Traceback (most recent call last): >> File "", line 1, in >>import exceptions >> ImportError: No module named exceptions >> >> in 2.6 no exception is raised >> It should be the same in 3.

Re: no module named exceptions?

2010-04-01 Thread Tommy Grav
This is what he is expecting. Importing exceptions works fine in 2.6.4, not so in python 3.1. Python 2.6.4 (r264:75706, Nov 3 2009, 18:12:54) [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import exceptions >>>

Re: no module named exceptions?

2010-04-01 Thread Shashwat Anand
There i no module named 'exceptions' in python 2.6 as well as python 3.1 What are you expecting ? On Thu, Apr 1, 2010 at 10:42 PM, Joaquin Abian wrote: > In python 3.1, > > >>> import exceptions > Traceback (most recent call last): > File "", line 1, in >import exceptions > ImportError: No

Re: No module named _socket, on windows

2010-01-04 Thread louisJ
I don't know what happened or what I did in the meantime but it works now...no more errors. Gabriel, for information now I have: >>> import socket >>> socket._socket Thank you anyway. -- http://mail.python.org/mailman/listinfo/python-list

Re: No module named _socket, on windows

2010-01-04 Thread Gabriel Genellina
En Mon, 04 Jan 2010 14:24:22 -0300, louisJ escribió: I installed python 2.6 (from python.org) for windows XP, and then Pylab. When I type "import pylab" in a python shell it shows the error: ImportError: No module named _socket Open the Python command line, type the following lines, and tell

Re: no module named error

2009-12-11 Thread Diez B. Roggisch
Joe schrieb: Your installation process is botched (no idea why, you don't show us setup.py or anything else I asked for). Sorry, but I do know how it's currently installed is exactly the way I need it to be installed. It is? It wasn't working until you fiddled with sys.path - which you neede

Re: no module named error

2009-12-10 Thread Joe
> Your installation process is botched (no idea why, you don't show us > setup.py or anything else I asked for). Sorry, but I do know how it's currently installed is exactly the way I need it to be installed. > > > All that is missing is what I've asked you now several times before: > _moda.so

Re: no module named error

2009-12-10 Thread Diez B. Roggisch
Joe wrote: >> No, the import-mechanism of python doesn't take LD_LIBRARY_PATH into >> account, and even if it did - _moda.la is a simple archive-file, not a >> shared library. It can't be dynamically loaded. Something in your >> build-process is not working. > > So how should my stuff find these

Re: no module named error

2009-12-10 Thread Benjamin Kaplan
On Thu, Dec 10, 2009 at 9:56 AM, Joe wrote: >> No, the import-mechanism of python doesn't take LD_LIBRARY_PATH into >> account, and even if it did - _moda.la is a simple archive-file, not a >> shared library. It can't be dynamically loaded. Something in your >> build-process is not working. > > So

Re: no module named error

2009-12-10 Thread Joe
> No, the import-mechanism of python doesn't take LD_LIBRARY_PATH into > account, and even if it did - _moda.la is a simple archive-file, not a > shared library. It can't be dynamically loaded. Something in your > build-process is not working. So how should my stuff find these libs? Here's what I

Re: no module named error

2009-12-08 Thread Diez B. Roggisch
Joe wrote: > Just to clarify, I have "_moda.la" sitting in another directory which is > included in my LD_LIBRARY_PATH. And it is built for the 64bit arch. No, the import-mechanism of python doesn't take LD_LIBRARY_PATH into account, and even if it did - _moda.la is a simple archive-file, not a s

Re: no module named error

2009-12-08 Thread Joe
Just to clarify, I have "_moda.la" sitting in another directory which is included in my LD_LIBRARY_PATH. And it is built for the 64bit arch. -- http://mail.python.org/mailman/listinfo/python-list

Re: no module named error

2009-12-08 Thread Joe
> > Please verify that it exists and has the proper architecture. > Ah, ok, I thought those were one in the same. But I do have that file in another directory elsewhere and I have that directory in my LD_LIBRARY_PATH var. Shouldn't that be enough to do it? -- http://mail.python.org/mailman

Re: no module named error

2009-12-08 Thread Diez B. Roggisch
Joe wrote: > Diez B. Roggisch wrote: >> Joe wrote: >> But it's searching for _moda.*, most probably a binary extension. Does that exist, and if yes, has it the proper architecture or is it maybe 32 bit? >>> I'm just going by an example script. moda is a package I was given that >>>

Re: no module named error

2009-12-08 Thread Joe
Diez B. Roggisch wrote: > Joe wrote: > >>> But it's searching for _moda.*, most probably a binary extension. Does >>> that exist, and if yes, has it the proper architecture or is it maybe 32 >>> bit? >> I'm just going by an example script. moda is a package I was given that >> is written in C and

Re: no module named error

2009-12-08 Thread Diez B. Roggisch
Joe wrote: >> But it's searching for _moda.*, most probably a binary extension. Does >> that exist, and if yes, has it the proper architecture or is it maybe 32 >> bit? > > I'm just going by an example script. moda is a package I was given that > is written in C and has some python bindings and d

Re: no module named error

2009-12-08 Thread Joe
> But it's searching for _moda.*, most probably a binary extension. Does that > exist, and if yes, has it the proper architecture or is it maybe 32 bit? I'm just going by an example script. moda is a package I was given that is written in C and has some python bindings and does run 64-bit. I'm on

Re: no module named error

2009-12-08 Thread Diez B. Roggisch
Joe wrote: > I am trying to write/run a python script which imports from another > script which is located in my /usr/lib64/python2.6/site-packages/ dir, > but getting the following error. > > $ python ./mytest.py > Traceback (most recent call last): > File "./mytest.py", line 45, in > f

Re: No module named os

2009-10-10 Thread Scott David Daniels
smi...@home.com wrote: 'import site' failed; use -v for traceback Traceback (most recent call last): File "./setup.py", line 3, in import sys, os, glob ImportError: No module named os I'm trying to build a small program and I get the above error. I have had this error popup in the past w

Re: No module named os

2009-10-10 Thread Benjamin Peterson
home.com> writes: > I'm trying to build a small program and I get the above error. > I have had this error popup in the past while trying to build other > programs. What can I do? You're python is apparently not finding the standard library. -- http://mail.python.org/mailman/listinfo/python

Re: No module named _sqlite3

2009-03-11 Thread gert
On Mar 9, 8:31 pm, gert wrote: > Testing 3.1 i get this with 3.0 it works > > python/lib/python3.1/sqlite3/dbapi2.py", line 27, in , > ImportError:No module named _sqlite3, never mind had some include problems during compiling, nothing to do with 3.1 -- http://mail.python.org/mailman/listinfo/pyt

Re: no module named _tkinter

2008-10-22 Thread Ben ZX
On Oct 21, 9:11 pm, Michele Simionato <[EMAIL PROTECTED]> wrote: > On Oct 22, 2:10 am, Ben ZX <[EMAIL PROTECTED]> wrote: > > > When I type Thanks. Right on. > > > import Tkinter > > > I get > > > no module named _tkinter. > > > I compiled my own python 2.5.2, and I didn't do anything special: jus

Re: no module named _tkinter

2008-10-21 Thread Michele Simionato
On Oct 22, 2:10 am, Ben ZX <[EMAIL PROTECTED]> wrote: > When I type > > import Tkinter > > I get > > no module named _tkinter. > > I compiled my own python 2.5.2, and I didn't do anything special: just > configure; make; make install. > > I checked there is a tk library in /usr/lib64. You need the

Re: no module named py

2008-06-04 Thread David Hláčik
most important method inside news class is newsauth which takes username, password and will return 1 if ldap authentification was OK. actually inn will call method authenticate which will call self.newsauth and here comes the problem .. i ve got instead of call self.newsauth error no module named

Re: No Module Named pstats

2008-02-13 Thread Joshua Kugler
Chris wrote: > On Feb 13, 11:20 am, "Juha S." <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I'm trying to use the Python profilers to test my code, but I get the >> following output for cProfile.run() at the interpreter: >> >> Traceback (most recent call last): >> File "", line 1, in >> File "/usr/

Re: No Module Named pstats

2008-02-13 Thread Juha S.
2008/2/13, Juha S. <[EMAIL PROTECTED] >: > > Hi, > > I'm trying to use the Python profilers to test my code, but I get the > following output for cProfile.run() at the interpreter: > > Traceback (most recent call last): > File "", line 1, in >

Re: No Module Named pstats

2008-02-13 Thread I. Soumpasis
2008/2/13, Juha S. <[EMAIL PROTECTED]>: > > Hi, > > I'm trying to use the Python profilers to test my code, but I get the > following output for cProfile.run() at the interpreter: > > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.5/cProfile.py", line 36, in

Re: No Module Named pstats

2008-02-13 Thread Chris
On Feb 13, 11:20 am, "Juha S." <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the Python profilers to test my code, but I get the > following output for cProfile.run() at the interpreter: > > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.5/cProfile.p

Re: No module named DBUtils.PooledDB

2007-08-02 Thread cpmishra
-- Forwarded message -- From: cpmishra <[EMAIL PROTECTED]> Date: Aug 2, 11:37 am Subject: No module named DBUtils.PooledDB To: comp.lang.python Hi all I have used DBUtil with python2.4. when we run to program in dos command ,successfully run but when we run in apache ser

Re: No module named urllib

2007-05-08 Thread HMS Surprise
Great idea Dennis, I will look into that. Thanks, jh -- http://mail.python.org/mailman/listinfo/python-list

Re: No module named urllib

2007-05-08 Thread HMS Surprise
On May 8, 9:13 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > To summarize the summary, are you sure you need to use Jython instead of > > standard CPython? > > Thanks for all your help Carsten, you have been more than patient with > me. > > To answer your question I must admit I do not know. I am

Re: No module named urllib

2007-05-08 Thread HMS Surprise
> To summarize the summary, are you sure you need to use Jython instead of > standard CPython? > Thanks for all your help Carsten, you have been more than patient with me. To answer your question I must admit I do not know. I am trying to use a tool called maxq (maxq.tigris.org) that has limited

Re: No module named urllib

2007-05-08 Thread Carsten Haese
On Tue, 2007-05-08 at 06:19 -0700, HMS Surprise wrote: > Thanks for posting. How does one ensure (or even detect) that their > libraries are compatible? You ensure that by taking the library from the version of Python that you're running. > I loaded this library as part of Python 2.5. That's too

Re: No module named urllib

2007-05-08 Thread HMS Surprise
On May 7, 6:54 pm, Carsten Haese <[EMAIL PROTECTED]> wrote: > On Mon, 2007-05-07 at 16:24 -0700, HMS Surprise wrote: > > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > > copied urllib to c:\maxq\lib\Lib. > > > Now I get the error - > > > Traceback (innermost last): > > File

Re: No module named urllib

2007-05-07 Thread Carsten Haese
On Mon, 2007-05-07 at 16:24 -0700, HMS Surprise wrote: > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > copied urllib to c:\maxq\lib\Lib. > > Now I get the error - > > Traceback (innermost last): > File "", line 5, in ? > File "C:\maxq\lib\Lib\urllib.py", line 1148 >

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 6:31 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote: > HMS Surprise <[EMAIL PROTECTED]> writes: > > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > > copied urllib to c:\maxq\lib\Lib. > > > Now I get the error - > > > Traceback (innermost last): > > File "", line 5, in ?

Re: No module named urllib

2007-05-07 Thread John Machin
On May 8, 9:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > On May 7, 6:00 pm, John Machin <[EMAIL PROTECTED]> wrote: > > > > > On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > > > I edited environment varialbes and have added C:\Python25\Lib to > > > PYTHONPATH but get the no module

Re: No module named urllib

2007-05-07 Thread Jorge Godoy
HMS Surprise <[EMAIL PROTECTED]> writes: > Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I > copied urllib to c:\maxq\lib\Lib. > > Now I get the error - > > Traceback (innermost last): > File "", line 5, in ? > File "C:\maxq\lib\Lib\urllib.py", line 1148 > _hextochr =

Re: No module named urllib

2007-05-07 Thread HMS Surprise
Since sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython'] I copied urllib to c:\maxq\lib\Lib. Now I get the error - Traceback (innermost last): File "", line 5, in ? File "C:\maxq\lib\Lib\urllib.py", line 1148 _hextochr = dict(('%02x' % i, chr(i)) for i in range(256))

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 6:00 pm, John Machin <[EMAIL PROTECTED]> wrote: > On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > > > I edited environment varialbes and have added C:\Python25\Lib to > > PYTHONPATH but get the no module message when the statement > > That directory should already be in sys.p

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 5:45 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote: > HMS Surprise <[EMAIL PROTECTED]> writes: > > Perhaps I should have put qoutes in my sentence. > > Or I should have read it slowly. ;-) > > > I get the "no module message named urllib". > > Can you please > > import sys > print sys.path > >

Re: No module named urllib

2007-05-07 Thread John Machin
On May 8, 8:06 am, HMS Surprise <[EMAIL PROTECTED]> wrote: > I edited environment varialbes and have added C:\Python25\Lib to > PYTHONPATH but get the no module message when the statement That directory should already be in sys.path after a normal Python install. Likewise the PYTHONPATH environmen

Re: No module named urllib

2007-05-07 Thread Jorge Godoy
HMS Surprise <[EMAIL PROTECTED]> writes: > Perhaps I should have put qoutes in my sentence. Or I should have read it slowly. ;-) > I get the "no module message named urllib". Can you please import sys print sys.path and put the answer here on the newsgroup? -- Jorge Godoy <[EMAIL PROTE

Re: No module named urllib

2007-05-07 Thread HMS Surprise
On May 7, 5:29 pm, Jorge Godoy <[EMAIL PROTECTED]> wrote: > HMS Surprise <[EMAIL PROTECTED]> writes: > > I edited environment varialbes and have added C:\Python25\Lib to > > PYTHONPATH but get the no module message when the statement > > > import urllib > > > is executed. > > > Even tried copying t

Re: No module named urllib

2007-05-07 Thread Jorge Godoy
HMS Surprise <[EMAIL PROTECTED]> writes: > I edited environment varialbes and have added C:\Python25\Lib to > PYTHONPATH but get the no module message when the statement > > import urllib > > is executed. > > Even tried copying the urllib file to my working directory. > > Any suggestions? No mess

Re: No module named ...

2007-03-20 Thread Leif K-Brooks
gtb wrote: > I was having trouble with the 'no module named' error message when > trying to import and noticed that other successful imports were > pulling from .py files that had the dot replaced with $ and .class > appended to the name. Actually in one case it picked up a .pyc file > then created

Re: No module named pyExcelerator Error

2007-02-11 Thread Gabriel Genellina
En Mon, 12 Feb 2007 01:46:51 -0300, susan <[EMAIL PROTECTED]> escribió: >> > $ python ./pyExcelerator/setup.py install >> >> Try this instead: >> $ cdpyExcelerator >> $ python ./setup.py install > I still wonder why my way didn't work. I think maybe there's some hard > code of installation dire

Re: No module named pyExcelerator Error

2007-02-11 Thread susan
On Feb 11, 11:22 pm, Samuel Karl Peterson <[EMAIL PROTECTED]> wrote: > "susan" <[EMAIL PROTECTED]> on 11 Feb 2007 16:55:35 -0800 didst > step forth and proclaim thus: > > > Hi, > > I'm new of Python, and this problem stucked me whole day but can't be > > solved. > > [snip] > > > anybody can tell me

Re: No module named pyExcelerator Error

2007-02-11 Thread susan
On Feb 11, 8:16 pm, "John Machin" <[EMAIL PROTECTED]> wrote: > On Feb 12, 11:55 am, "susan" <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm new of Python, and this problem stucked me whole day but can't be > > solved. > > > I use python 2.4.3, which is download from cygwin packages. > > Is your Python

Re: No module named pyExcelerator Error

2007-02-11 Thread Samuel Karl Peterson
"susan" <[EMAIL PROTECTED]> on 11 Feb 2007 16:55:35 -0800 didst step forth and proclaim thus: > Hi, > I'm new of Python, and this problem stucked me whole day but can't be > solved. [snip] > anybody can tell me where's wrong please? Thanks in advance! What are the contents of sys.path from an i

Re: No module named pyExcelerator Error

2007-02-11 Thread John Machin
On Feb 12, 11:55 am, "susan" <[EMAIL PROTECTED]> wrote: > Hi, > I'm new of Python, and this problem stucked me whole day but can't be > solved. > > I use python 2.4.3, which is download from cygwin packages. Is your Python installation working properly for you with other things, or is installing p

Re: No module named _db2

2006-12-05 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > For some reason the _db2 module cannot be imported. Have you had this > issue before? my guess is that _db2 is a binary driver module used by the DB2.py module. did you follow the installation instructions carefully ? have you looked for _db2.so or _db2module.so files