[mythtv-users] [Bulk] Re: Jamu not working with 0.23

A Desai ashu.desai at gmail.com
Sun May 30 22:39:24 UTC 2010


Doug
Here's what I did:

[root at mythtv ~]# python26
Python 2.6 (r26:66714, Feb 13 2009, 15:01:48)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named urlib
>>> import urlib2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named urlib2
>>>

How do I import urlib/urlib2 here?

Thanks,
Ash

On Sun, May 30, 2010 at 3:35 PM, Doug Vaughan <r.d.vaughan at rogers.com>wrote:

> Ash,
>   I am grasping at straws but please check your python versions of urllib
> and urllib2. Here is an example of how to do it and the versions I am using.
> If your installed versions are old then you may want to update them,
>
> > python
> Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
> [GCC 4.4.1] on linux2
>
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import urllib
> >>> urllib.__version__
> '1.17'
> >>> import urllib2
> >>> urllib2.__version__
> '2.6'
>
> CTRL-D to exit python
>
>
> Doug
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100530/2c8fce55/attachment.htm>


More information about the mythtv-users mailing list