tags:

views:

23

answers:

0

Hello Friends,

I have an error when i used pyqrcode.

[root@localhost python2.6]# python

Python 2.6.5 (r265:79063, Sep  7 2010, 07:31:57) 

[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import qrcode

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/usr/local/lib/python2.6/site-packages/qrcode-0.2.1-py2.6-linux-x86_64.egg/qrcode/__init__.py", line 6, in <module>

    from qrcode import _qrcode

ImportError: cannot import name _qrcode

How to resolve above error?

I am referring pyqrcode from http://pyqrcode.sourceforge.net/

Thanks, Manu