joblib AttributeError: 'module' object has no attribute

2018-04-14 Thread Ho Yeung Lee
ile "C:\Python27\lib\multiprocessing\pool.py", line 102, in worker task = get() File "C:\Python27\lib\site-packages\joblib\pool.py", line 362, in get return recv() AttributeError: 'module' object has no attribute 'easysearch' how to solve this bug? imp

Re: AttributeError: 'module' object has no attribute 'urlretrieve' in window subsystem ubuntu bash for tensorflow

2017-05-20 Thread Kev Dwyer
n_feature_columns=deep_columns, > dnn_hidden_units=[100, 50]) > > ... > > urllib.urlretrieve(r"/mnt/c/Users/hello/Documents/data.csv", > train_file.name) > urllib.urlretrieve(r"/mnt/c/Users/hello/Documents/dataTest.csv", > test_file.name) > >

AttributeError: 'module' object has no attribute 'urlretrieve' in window subsystem ubuntu bash for tensorflow

2017-05-20 Thread Ho Yeung Lee
a.csv", train_file.name) urllib.urlretrieve(r"/mnt/c/Users/hello/Documents/dataTest.csv", test_file.name) Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'urlretrieve' -- https://mail.python.org/mailman/listinfo/python-list

Re: AttributeError: 'module' object has no attribute '__path__'

2015-08-31 Thread Chris Angelico
On Tue, Sep 1, 2015 at 1:32 PM, Rustom Mody wrote: > On Tuesday, September 1, 2015 at 3:46:15 AM UTC+5:30, Laura Creighton wrote: >> Can you make the effort to move your cursor to the bottom of >> the mail you are replying to, before you start typing, >> so that your reply comes after what was sai

Re: AttributeError: 'module' object has no attribute '__path__'

2015-08-31 Thread Rustom Mody
On Tuesday, September 1, 2015 at 3:46:15 AM UTC+5:30, Laura Creighton wrote: > Can you make the effort to move your cursor to the bottom of > the mail you are replying to, before you start typing, > so that your reply comes after what was said before, instead of > first thing, and thus before what

Re: AttributeError: 'module' object has no attribute '__path__'

2015-08-31 Thread Laura Creighton
In a message of Mon, 31 Aug 2015 17:01:07 -0400, Saran Ahluwalia writes: >Laura, > >It does not appear to be the case. I actually had to actually unset the >PYTHONPATH. > >Thanks for your suggestion. > >Sincerely, >Saran Are you and kbtyo the same person? If deleting your PYTHONPATH fixed it, th

Re: AttributeError: 'module' object has no attribute '__path__'

2015-08-31 Thread Saran Ahluwalia
Laura, It does not appear to be the case. I actually had to actually unset the PYTHONPATH. Thanks for your suggestion. Sincerely, Saran On Mon, Aug 31, 2015 at 4:17 PM, Laura Creighton wrote: > Check and see if you have a file in your working directory with the > very same name as a module yo

Re: AttributeError: 'module' object has no attribute '__path__'

2015-08-31 Thread Laura Creighton
Check and see if you have a file in your working directory with the very same name as a module you are trying to import, or the_same_name.py If so, change the name of that file to something else. Laura -- https://mail.python.org/mailman/listinfo/python-list

AttributeError: 'module' object has no attribute '__path__'

2015-08-31 Thread kbtyo
Files\New\lib\importlib\_bootstrap.py in _find_and_load_unlocked(name, import_) AttributeError: 'module' object has no attribute '__path__' During handling of the above exception, another exception occurred: ImportError Traceback (most recent call

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-08 Thread Chris Angelico
os >>>> os.fork > > Traceback (most recent call last): > File "", line 1, in > os.fork > AttributeError: 'module' object has no attribute 'fork' > > > Linux: > > $ python > Python 2.7.8 (default, Jul 4 2014, 13:08:34) > [

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-08 Thread Rustom Mody
n platforms where fork doesn't > exist. So testing that os.fork exists is not sufficient to tell whether or > not you can actually fork. Windows: Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-07 Thread Steven D'Aprano
Rustom Mody wrote: > On Thursday, August 7, 2014 10:26:56 PM UTC+5:30, Steven D'Aprano wrote: >> Roy Smith wrote: > >> > Peter Otten wrote: >> >> os.fork() >> >> Fork a child process. >> >> ... >> >> Availability: Unix. >> >> """ >> >> You are using the wrong operating system ;) >> > To be hone

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-07 Thread Rustom Mody
On Friday, August 8, 2014 10:49:27 AM UTC+5:30, Rustom Mody wrote: > On Thursday, August 7, 2014 10:26:56 PM UTC+5:30, Steven D'Aprano wrote: > > Roy Smith wrote: > > > Peter Otten wrote: > > >> os.fork() > > >> Fork a child process. > > >> ... > > >> Availability: Unix. > > >> """ > > >> You ar

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-07 Thread Rustom Mody
On Thursday, August 7, 2014 10:26:56 PM UTC+5:30, Steven D'Aprano wrote: > Roy Smith wrote: > > Peter Otten wrote: > >> os.fork() > >> Fork a child process. > >> ... > >> Availability: Unix. > >> """ > >> You are using the wrong operating system ;) > > To be honest, this could be considered a bu

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-07 Thread Steven D'Aprano
Roy Smith wrote: > In article , > Peter Otten <__pete...@web.de> wrote: > >> os.fork() >> Fork a child process. >> ... >> Availability: Unix. >> """ >> >> You are using the wrong operating system ;) > > To be honest, this could be considered a buglet in the os module. It > really should raise

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-07 Thread Roy Smith
In article , Peter Otten <__pete...@web.de> wrote: > os.fork() > Fork a child process. > ... > Availability: Unix. > """ > > You are using the wrong operating system ;) To be honest, this could be considered a buglet in the os module. It really should raise: NotImplementedError("fork() is on

Re: AttributeError: 'module' object has no attribute 'fork'

2014-08-07 Thread Peter Otten
t; parent() > > Output: > Traceback (most recent call last): > File "C:/Python34/pipe1.py", line 17, in > parent() > File "C:/Python34/pipe1.py", line 11, in parent > if os.fork() == 0: > AttributeError: 'module' object has

AttributeError: 'module' object has no attribute 'fork'

2014-08-06 Thread Satish ML
;C:/Python34/pipe1.py", line 11, in parent if os.fork() == 0: AttributeError: 'module' object has no attribute 'fork' Why does this error appear? Module os provides fork(). How to solve this problem? Kindly help. -- https://mail.python.org/mailman/listinfo/python-list

Re: python+libxml2+scrapy AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'

2012-08-18 Thread Stefan Behnel
Dmitry Arsentiev, 15.08.2012 14:49: > Has anybody already meet the problem like this? - > AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER' > > When I run scrapy, I get > > File "/usr/local/lib/python2.7/site-packages/s

Re: python+libxml2+scrapy AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'

2012-08-16 Thread personificator
oblem like this? - > > AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER' > > > > When I run scrapy, I get > > > > File "/usr/local/lib/python2.7/site-packages/scrapy/selector/factories.py", > > line 14, in

Re: python+libxml2+scrapy AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'

2012-08-15 Thread Dieter Maurer
Dmitry Arsentiev writes: > Has anybody already meet the problem like this? - > AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER' > > When I run scrapy, I get > > File "/usr/local/lib/python2.7/site-packages/scrapy/selector/

python+libxml2+scrapy AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER'

2012-08-15 Thread Dmitry Arsentiev
Hello. Has anybody already meet the problem like this? - AttributeError: 'module' object has no attribute 'HTML_PARSE_RECOVER' When I run scrapy, I get File "/usr/local/lib/python2.7/site-packages/scrapy/selector/factories.py", line 14, in libxml2.HTML_PA

Re: AttributeError: 'module' object has no attribute 'logger'

2012-03-05 Thread Jean-Michel Pichavant
ine-2.0_dev1- py2.7.egg/pyreadline/modes/emacs.py", line 11, in import pyreadline.logger as logger AttributeError: 'module' object has no attribute 'logger' any one can help me pleas regards Zid You probably have the wrong version of pyreadline. Try to install the

AttributeError: 'module' object has no attribute 'logger'

2012-03-04 Thread youssef . mahdia
ot;, line 11, in import pyreadline.logger as logger AttributeError: 'module' object has no attribute 'logger' any one can help me pleas regards Zid -- http://mail.python.org/mailman/listinfo/python-list

Re: PyKota, Python: AttributeError: 'module' object has no attribute '_quote'

2012-02-21 Thread JohannesTU
create users etc. Thank you very much! Kind regards, Johannes -- View this message in context: http://python.6.n6.nabble.com/PyKota-Python-AttributeError-module-object-has-no-attribute-quote-tp4487915p4493041.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http:

Re: PyKota, Python: AttributeError: 'module' object has no attribute '_quote'

2012-02-20 Thread Peter Otten
> ERROR: File > "/usr/local/lib/python2.7/site-packages/pykota/storages/pgstorage.py", > line 144, in doQuote > ERROR: return pg._quote(field, typ) > ERROR: AttributeError: 'module' object has no attribute '_quote' > > > I have no i

PyKota, Python: AttributeError: 'module' object has no attribute '_quote'

2012-02-20 Thread JohannesTU
sql.py", line 355, in getUserFromBackend ERROR: % self.doQuote(self.userCharsetToDatabase(username))) ERROR: File "/usr/local/lib/python2.7/site-packages/pykota/storages/pgstorage.py", line 144, in doQuote ERROR: return pg._quote(field, typ) ERROR: AttributeError: '

Re: v = vte.Terminal() AttributeError: 'module' object has no attribute 'Terminal'

2010-12-07 Thread edicionsdigitals.com edicions digitals xarxa social slu
ry to run a terminal emulation using Python+Gtk+Vte. Before develop > > my own sources, i'm testing some examples like this > > ;http://www.eurion.net/python-snippets/snippet/Embed%20a%20VTE%20termi... > > > But when i try to run, i get this message error; > > >    

Re: v = vte.Terminal() AttributeError: 'module' object has no attribute 'Terminal'

2010-12-07 Thread bruno.desthuilli...@gmail.com
, i get this message error; > >     v = vte.Terminal() > AttributeError: 'module' object has no attribute 'Terminal' Before any other thing, make sure the "vte" module you imported is the expected one. Edit your script that way: # import vte try: import

v = vte.Terminal() AttributeError: 'module' object has no attribute 'Terminal'

2010-12-07 Thread Steve
Error: 'module' object has no attribute 'Terminal' I'm using ubuntu 9.10 karmic. I've installed (apt-get) python-gtk, /2, -dev, libvte... Anyone know if there's a bug on this using karmic, or i must to download and compile gtk/vte from sources? thanks, Ste

Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-24 Thread Frank GOENNINGER
Philip Semanchuk writes: > On May 23, 2010, at 9:46 AM, Frank GOENNINGER wrote: >> >> I double checked and yes, getLogger is there. Why is the interpreter >> asking for an "attribute" here ? Any hints on what I am doing wrong ? > > > Short answer: Change the name of src/pib/logging.py to somethin

Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-24 Thread Frank GOENNINGER
Simon Brunning writes: > On 23 May 2010 14:46, Frank GOENNINGER wrote: >> Traceback (most recent call last): >>  File "/.../src/pib/logging.py", line 37, in >>    main() > > Here's a clue - looks like your own module is called logging. That's > what's getting imported by your import. Try naming

Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-23 Thread Duncan Booth
7;/tmp/pib.log') > File "/...src/pib/logging.py", line 23, in __init__ > self.logger = logging.getLogger('PIBLogger') > AttributeError: 'module' object has no attribute 'getLogger' > > I double checked and yes, getLogger is there. Wh

Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-23 Thread Philip Semanchuk
) File "/.../src/pib/logging.py", line 33, in main mylogger = PIBLogger('/tmp/pib.log') File "/...src/pib/logging.py", line 23, in __init__ self.logger = logging.getLogger('PIBLogger') AttributeError: 'module' object has no attribute 'g

Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-23 Thread Simon Brunning
On 23 May 2010 14:46, Frank GOENNINGER wrote: > Traceback (most recent call last): >  File "/.../src/pib/logging.py", line 37, in >    main() Here's a clue - looks like your own module is called logging. That's what's getting imported by your import. Try naming your module something else, and yo

logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-23 Thread Frank GOENNINGER
rc/pib/logging.py", line 33, in main mylogger = PIBLogger('/tmp/pib.log') File "/...src/pib/logging.py", line 23, in __init__ self.logger = logging.getLogger('PIBLogger') AttributeError: 'module' object has no attribute 'getLogger' I

Re: AttributeError: 'module' object has no attribute 'pack'

2009-09-10 Thread Ben Kaplan
", line 171, in class Pickler: File "/usr/lib/python2.6/pickle.py", line 250, in Pickler def put(self, i, pack=struct.pack): AttributeError: 'module' object has no attribute 'pack' Any ideas how to fix this? Kind Regards, Is there another struct modul

Re: AttributeError: 'module' object has no attribute 'pack'

2009-09-10 Thread Jerry Hill
On Thu, Sep 10, 2009 at 4:21 PM, Sampsa Riikonen wrote: > Hello, > > I already solved this.. I had to set > > PYTHONPATH= > > After that the error msg disappeared. > Weird though.. I don't have any module called "subprocess" > in my personal python modules directory. You have a module named struc

Re: AttributeError: 'module' object has no attribute 'pack'

2009-09-10 Thread Sampsa Riikonen
mport subprocess > > > > Traceback (most recent call last): > > File "", line 1, in > > File "/usr/lib/python2.6/subprocess.py", line 404, in > > import pickle > > File "/usr/lib/python2.6/pickle.py", line 171, in > &g

Re: AttributeError: 'module' object has no attribute 'pack'

2009-09-10 Thread Albert Hopkins
> File "/usr/lib/python2.6/subprocess.py", line 404, in > import pickle > File "/usr/lib/python2.6/pickle.py", line 171, in > class Pickler: > File "/usr/lib/python2.6/pickle.py", line 250, in Pickler > def put(self, i, pack=struct

AttributeError: 'module' object has no attribute 'pack'

2009-09-10 Thread Sampsa Riikonen
ickle.py", line 171, in class Pickler: File "/usr/lib/python2.6/pickle.py", line 250, in Pickler def put(self, i, pack=struct.pack): AttributeError: 'module' object has no attribute 'pack' Any ideas how to fix this? Kind Regards, Sampsa

Re: AttributeError: 'module' object has no attribute 'open_workbook'

2009-01-26 Thread John Machin
On Jan 27, 3:07 am, MRAB wrote: > Jay Jesus Amorin wrote: [snip] >  > Here's the error message: >  > >  > r...@nebuchadnezzar:/home/test/project# ./xlrd.py test.xls >  > Traceback (most recent call last): >  >   File "./xlrd.py", line 3, in >  >     import xlrd >  >   File "/home/jayam/project/xl

Re: AttributeError: 'module' object has no attribute 'open_workbook'

2009-01-26 Thread MRAB
Jay Jesus Amorin wrote: > Hi, > > Kindly help, I've got this error when running my script: > > AttributeError: 'module' object has no attribute 'open_workbook' > > > Here's my code: > > #!/usr/bin/python > > import xlrd &

AttributeError: 'module' object has no attribute 'open_workbook'

2009-01-26 Thread Jay Jesus Amorin
Hi, Kindly help, I've got this error when running my script: AttributeError: 'module' object has no attribute 'open_workbook' Here's my code: #!/usr/bin/python import xlrd import sys mySpreadsheet = xlrd.open_workbook(open(sys.argv[1])) firstSheet = wb.sheet_by

Re: AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

2009-01-02 Thread Vinay Sajip
On Dec 29 2008, 12:18 pm, "Chris Rebert" wrote: > > "The StreamHandler and FileHandler classes are defined in the > coreloggingpackage. The other handlers are defined in a sub- > module,logging.handlers." > > There's your answer. I do agree though that the > "classlogging.DatagramHandler" line

Re: AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

2008-12-30 Thread Vinay Sajip
On Dec 29, 12:18 pm, "Chris Rebert" wrote: > There's your answer. I do agree though that the "class > logging.DatagramHandler" line in the docs is misleading to say the > least. Perhaps a docs bug should be filed... I've raised it on the sphinx-dev Google group. The documentation source markup f

Re: AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

2008-12-29 Thread John Machin
.>>> > import logging > >>> logging.DatagramHandler > > Traceback (most recent call last): >   File "", line 1, in > AttributeError: 'module' object has no attribute 'DatagramHandler' > > > > That is odd since the documentatio

Re: AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

2008-12-29 Thread Bruno Desthuilliers
raceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'DatagramHandler' That is odd since the documentation says there is DatagramHandler for module logging It also says that DatagramHandler is located in the logging

Re: AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

2008-12-29 Thread Chris Rebert
on. >>>> import logging >>>> logging.DatagramHandler > Traceback (most recent call last): > File "", line 1, in > AttributeError: 'module' object has no attribute 'DatagramHandler' >>>> > > > That is odd since the doc

AttributeError: 'module' object has no attribute 'DatagramHandler' (ubuntu-8.10, python 2.5.2)

2008-12-29 Thread Tzury Bar Yochay
r Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'DatagramHandler' >>> That is odd since the documentation says there is DatagramHandler for module logging -- http://mail.python.org/mailman/listinfo/python-list

Re: "AttributeError: 'module' object has no attribute 'getdefaultlocale'" on Python start

2008-09-09 Thread Matt Nordhoff
yc matches > D:\Python25\lib\encodings\aliases.py > import encodings.aliases # precompiled from > D:\Python25\lib\encodings\aliases.pyc > 'import site' failed; traceback: > Traceback (most recent call last): > File "d:\Python25\lib\site.py", line 415, in > main()

"AttributeError: 'module' object has no attribute 'getdefaultlocale'" on Python start

2008-09-09 Thread Barak, Ron
uot;d:\Python25\lib\site.py", line 357, in aliasmbcs enc = locale.getdefaultlocale()[1] AttributeError: 'module' object has no attribute 'getdefaultlocale' # D:\Python25\lib\warnings.pyc matches D:\Python25\lib\warnings.py import warnings # precompiled from D:\Pyth

Re: When I do from lxml import etree I've this error : AttributeError: 'module' object has no attribute 'BytesIO'

2008-08-25 Thread Stefan Behnel
KLEIN Stéphane wrote: > Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) >>>> from lxml import etree > Traceback (most recent call last): > File "", line 1, in > File "lxml.etree.pyx", line 40, in lxml.etree (src/lxml/ > lxml.etree.c:119415) >

Re: When I do from lxml import etree I've this error : AttributeError: 'module' object has no attribute 'BytesIO'

2008-08-25 Thread KLEIN Stéphane
11:12:42) [GCC 4.2.3 (Ubuntu > 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or > "license" for more information. >>>> from lxml import etree > Traceback (most recent call last): > File "", line 1, in >

When I do from lxml import etree I've this error : AttributeError: 'module' object has no attribute 'BytesIO'

2008-08-25 Thread KLEIN Stéphane
edits" or "license" for more information. >>> from lxml import etree Traceback (most recent call last): File "", line 1, in File "lxml.etree.pyx", line 40, in lxml.etree (src/lxml/ lxml.etree.c:119415) AttributeError: 'module' object has no a

Re: AttributeError: module object has no attribute

2008-05-20 Thread Nikhil
k (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute '/xyz/py/file' --- but when I do the below, I do not get any error. -- >> import local.my.module >> -- Any ideas on what could be wrong? Are you abusing

Re: AttributeError: module object has no attribute

2008-05-20 Thread Marc 'BlackJack' Rintsch
;> >>> from local.my.module import * >>> >>> -- >>> Traceback (most recent call last): >>>File "", line 1, in >>> AttributeError: 'module' object has no attribute '/xyz/py/file' >>> --- >>>

Re: AttributeError: module object has no attribute

2008-05-20 Thread Nikhil
Peter Otten wrote: Nikhil wrote: I have recently written a small module. When I import the module, I always get the error only when I do >>> from local.my.module import * -- Traceback (most recent call last): File "", line 1, in AttributeError: 'module'

Re: AttributeError: module object has no attribute

2008-05-20 Thread Peter Otten
Nikhil wrote: > I have recently written a small module. When I import the module, I > always get the error > > > only when I do > > >>> from local.my.module import * > > -- > Traceback (most recent call last): > File "", line 1, in >

Re: AttributeError: module object has no attribute

2008-05-20 Thread abhilash pp
>> from local.my.module import * > > -- > Traceback (most recent call last): > File "", line 1, in > AttributeError: 'module' object has no attribute '/xyz/py/file' > --- > > > but when I do the below, I do not get any error. >

AttributeError: module object has no attribute

2008-05-20 Thread Nikhil
I have recently written a small module. When I import the module, I always get the error only when I do >>> from local.my.module import * -- Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute '/xyz/py/f

Re: AttributeError: 'module' object has no attribute 'letters'

2008-02-12 Thread black_13
ges\win32com\client\dynamic.py", > > line 24, in > >     import build > >   File "C:\Python25\lib\site-packages\win32com\client\build.py", line > > 507, in > >     valid_identifier_chars = string.letters + string.digits + "_" > > Attr

Re: AttributeError: 'module' object has no attribute 'letters'

2008-02-11 Thread Gabriel Genellina
En Mon, 11 Feb 2008 21:33:25 -0200, John Machin <[EMAIL PROTECTED]> escribió: > Otherwise run python from the command line with the -v option and find > where it's getting the interloper string module from. interloper: my new word of the day. Thanks! PS: Another way would be to run the script

Re: AttributeError: 'module' object has no attribute 'letters'

2008-02-11 Thread John Machin
\client\build.py", line > 507, in > valid_identifier_chars = string.letters + string.digits + "_" > AttributeError: 'module' object has no attribute 'letters' > > If you have a file called string.py in the same directory as your script, move/rename

Re: AttributeError: 'module' object has no attribute 'letters'

2008-02-11 Thread Ben Finney
black_13 <[EMAIL PROTECTED]> writes: > what does this error mean? > [...] > valid_identifier_chars = string.letters + string.digits + "_" > AttributeError: 'module' object has no attribute 'letters' It means that you're trying to access

AttributeError: 'module' object has no attribute 'letters'

2008-02-11 Thread black_13
he, pythoncom File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 24, in import build File "C:\Python25\lib\site-packages\win32com\client\build.py", line 507, in valid_identifier_chars = string.letters + string.digits + "_" AttributeError:

AttributeError: 'module' object has no attribute 'HTTPSHandler'

2007-08-13 Thread Matt McCredie
> > I am using Fedora Core 4 linux. Where should I look for _ssl.pyd ? I > am trying to build and use Python-2.5.1 > I don't have access to that type of system. I do know that you need OpenSSL to use ssl. It might be as simple as just finding and installing OpenSSL for fedora. You can also find t

Re: AttributeError: 'module' object has no attribute 'HTTPSHandler'

2007-08-10 Thread [EMAIL PROTECTED]
On 8/10/07, Matt McCredie <[EMAIL PROTECTED]> wrote: > > I built and installed python 2.5 from source and when I do this: > > opener = urllib2.build_opener(SmartRedirectHandler(), > > DefaultErrorHandler(), urllib2.HTTPSHandler()) > > I get this error. > > At

Fwd: AttributeError: 'module' object has no attribute 'HTTPSHandler'

2007-08-10 Thread Matt McCredie
> I built and installed python 2.5 from source and when I do this: > > opener = urllib2.build_opener(SmartRedirectHandler(), > DefaultErrorHandler(), urllib2.HTTPSHandler()) > > I get this error. > AttributeError: 'module' object has no attribute 'HTTPSHandl

AttributeError: 'module' object has no attribute 'HTTPSHandler'

2007-08-10 Thread [EMAIL PROTECTED]
Hi I built and installed python 2.5 from source and when I do this: opener = urllib2.build_opener(SmartRedirectHandler(), DefaultErrorHandler(), urllib2.HTTPSHandler()) I get this error. AttributeError: 'module' object has no attribute 'HTTPSHandler' What should I do? -- ht

weird exception : AttributeError: 'module' object has no attribute 'logException'

2006-09-18 Thread kepioo
I am running a script (summary.py) which is calling the method logException in another module ( pytool). Yesterday, ard 18:50, all of a sudden summary.py was throwing the exception : AttributeError: 'module' object has no attribute 'logException' What I did to fix it was to

Re: Sansung YH-920 + Linux + yh-925-db-0.1.py = AttributeError: 'module' object has no attribute 'decode'

2006-07-22 Thread rsd
> > You don't say which version of Python you are running ... but my guess > is that it's 2.3 or earlier. Yes, you're right. I was using version 2.3.5 I'll see if I can get it working with 2.4 Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Sansung YH-920 + Linux + yh-925-db-0.1.py = AttributeError: 'module' object has no attribute 'decode'

2006-07-22 Thread John Machin
gt; > 2. Now, I need to run "yh-925-db-0.1.py" to update the database. > [snip] > > > test:/mnt/usb/System# ./yh-925-db-0.1.py > Traceback (most recent call last): > File "./yh-925-db-0.1.py", line 195, in ? > de.add_from_dict(e.unpack3(f)) > File "

Sansung YH-920 + Linux + yh-925-db-0.1.py = AttributeError: 'module' object has no attribute 'decode'

2006-07-22 Thread rsd
decode(fp.read(size)) AttributeError: 'module' object has no attribute 'decode' Any ideas? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-04-01 Thread John J. Lee
Steve Holden <[EMAIL PROTECTED]> writes: > Peter Otten wrote: > > adrian wrote: > > > >>urllib.socket.setdefaulttimeout(self.timeout) > >>AttributeError: 'module' object has no attribute 'setdefaulttimeout' > > socket.setdefaulttime

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread Steve Holden
Peter Otten wrote: adrian wrote: urllib.socket.setdefaulttimeout(self.timeout) AttributeError: 'module' object has no attribute 'setdefaulttimeout' socket.setdefaulttimeout() was added in Python 2.3. You need to upgrade. Peter Alternatively you might still be ablet

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread infidel
That just means the urllib.socket module doesn't have any function named setdefaulttimeout in it. It appears there might be something wrong with your socket module as mine has it: py> import urllib py> f = urllib.socket.setdefaulttimeout py> f -- http://mail.python.org/mailman/listinfo/python-

Re: AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread Peter Otten
adrian wrote: > urllib.socket.setdefaulttimeout(self.timeout) > AttributeError: 'module' object has no attribute 'setdefaulttimeout' socket.setdefaulttimeout() was added in Python 2.3. You need to upgrade. Peter -- http://mail.python.org/mailman/listinfo/python-list

AttributeError: 'module' object has no attribute 'setdefaulttimeout'

2005-03-31 Thread adrian
File "/usr/local/bin/SquidClamAV_Redirector.py", line 145, in __init__ self.__start_urlhandler__() File "/usr/local/bin/SquidClamAV_Redirector.py", line 454, in __start_urlhandler__ urllib.socket.setdefaulttimeout(self.timeout) AttributeError: 'module' ob