Ho Yeung Lee wrote:
> i use window subsystem ubuntu
> and install python 3 and tensorflow
>
> then when try deep learning
>
> https://www.tensorflow.org/tutorials/wide_and_deep
>
> got error when urlretrieve local directory in ubuntu in window
>
> tried urllib3 still have error
>
> import tem
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
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
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
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
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
On Fri, Aug 8, 2014 at 5:17 PM, Rustom Mody wrote:
>> But with Roy's suggestion, testing for the existence of os.fork is not
>> sufficient, because it will exist even on platforms where fork doesn't
>> exist. So testing that os.fork exists is not sufficient to tell whether or
>> not you can actual
On Friday, August 8, 2014 11:18:17 AM UTC+5:30, Steven D'Aprano wrote:
> 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.
> >> >> ...
> >> >> Availabilit
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
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
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
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
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
Satish ML wrote:
> Hi,
>
> Code:
> import os, time
> def child(pipeout):
> zzz = 0
> while True:
> time.sleep(zzz)
> msg = ('Spam %03d' % zzz).encode()
> os.write(pipeout, msg)
> zzz = (zzz+1) % 5
> def parent():
> pipein, pipeout = os.pipe()
> if o
youssef.mah...@hotmail.com wrote:
hi all, when installing sage, there is a problem with emacs.py
so, this screen appeared after rynning ./sage
--
| Sage Version 4.4.2, Release Date: 2010-05-19 |
| Type noteb
On 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.
Anyway, thanks for the swift reply!
Reg
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
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.
Anyway, thanks for the swift reply!
Regards,
Sampsa
On Thursday 10 September 2009 10:40:11 pm Albe
On Thu, 2009-09-10 at 21:07 +0300, Sampsa Riikonen wrote:
> Dear List,
>
> I have a freshly installed opensuse 11.2 and I am experiencing the following
> problem with the module "subprocess":
>
> sam...@linux-912g:~> python
> Python 2.6 (r26:66714, Feb 3 2009, 20:52:03)
> [GCC 4.3.2 [gcc-4_3-bra
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
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
> import sys
>
> mySpreadsheet = xlrd.open_workbook(open(sys.argv[1]))
> first
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
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
On Dec 29, 11:08 pm, Tzury Bar Yochay wrote:
> $ ~/devel/ice/snoip/freespeech$ python
> Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.>>>
> import logging
> >>> logging.DatagramHandler
>
> Traceback
Tzury Bar Yochay a écrit :
$ ~/devel/ice/snoip/freespeech$ python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import logging
logging.DatagramHandler
Traceback (most recent call last):
File "", li
On Mon, Dec 29, 2008 at 4:08 AM, Tzury Bar Yochay
wrote:
> $ ~/devel/ice/snoip/freespeech$ python
> Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
import logging
logging.DatagramHandler
> T
Barak, Ron wrote:
> Hi Fellow Pythonians,
>
> I stated getting the following when starting Python (2.5.2 on Windows XP):
>
> C:\Documents and Settings\RBARAK>python -v
> # installing zipimport hook
> import zipimport # builtin
> # installed zipimport hook
> # D:\Python25\lib\site.pyc matches D:
Marc 'BlackJack' Rintsch wrote:
On Tue, 20 May 2008 23:31:15 +0530, Nikhil wrote:
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 las
On Tue, 20 May 2008 23:31:15 +0530, Nikhil wrote:
> 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 c
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' object has no attribute '/xyz/py
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' object has no attribute '/xyz/
hai nikhil,
please check your __init__ file if you had any
cheers,
abhilash
On Tue, May 20, 2008 at 11:00 PM, Nikhil <[EMAIL PROTECTED]> 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 *
On Feb 11, 5:33 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Feb 12, 9:24 am,black_13<[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > what does this error mean?
> > i am trying to use mark hammonds win32 package.
>
> > Traceback (most recent call last):
> > File "aui2.py", line 11, in
> > import
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
On Feb 12, 9:24 am, black_13 <[EMAIL PROTECTED]> wrote:
> what does this error mean?
> i am trying to use mark hammonds win32 package.
>
> Traceback (most recent call last):
> File "aui2.py", line 11, in
> import win32com.client
> File "C:\Python25\lib\site-packages\win32com\client\__init_
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 the attribute 'letters' on a
module that doesn't have th
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.
> > AttributeError: 'module' object has no att
Steve Holden <[EMAIL PROTECTED]> writes:
> 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
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 o get Tom O'Malley's
tiemouts
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-
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
41 matches
Mail list logo