I'm trying to run with Python 3.3:
I get the error message:
Traceback (most recent call last):
File "C:\....py" , line 23, in <module>
import xlrd
File "C:\Python33\li b\site-packages\xlrd\_ _init__.py", line 3, in <module>
from info import __VERSION__
ImportError: No module named 'info'
The content of my Python33 folder appears in the attached image.
On the same computer, with Python3.2,the program gives the error message:
Traceback (most recent call last):
File "C:\....py" , line 23, in <module>
import xlrd
File "C:\Python32\li b\site-packages\xlrd\_ _init__.py", line 361
u"Consolidate_A rea": u"\x00",
^
SyntaxError: invalid syntax
Again, on the same computer, with Python 2.7, everything goes fine.
Could anybody find an explanation and give a solution?
Thanks.
[IMG]C:\Users\cristi na\Documents\Pr intScreen Files\py33_.jpg[/IMG]
Code:
import lib2to3 import sys import string import xlrd workbook = xlrd.open_workbook(r'C:\....xlsx',encoding_override="cp1252") worksheet = workbook.sheet_by_name('Sheet1') workbook.sheet_names() ..................
Traceback (most recent call last):
File "C:\....py" , line 23, in <module>
import xlrd
File "C:\Python33\li b\site-packages\xlrd\_ _init__.py", line 3, in <module>
from info import __VERSION__
ImportError: No module named 'info'
The content of my Python33 folder appears in the attached image.
On the same computer, with Python3.2,the program gives the error message:
Traceback (most recent call last):
File "C:\....py" , line 23, in <module>
import xlrd
File "C:\Python32\li b\site-packages\xlrd\_ _init__.py", line 361
u"Consolidate_A rea": u"\x00",
^
SyntaxError: invalid syntax
Again, on the same computer, with Python 2.7, everything goes fine.
Could anybody find an explanation and give a solution?
Thanks.
[IMG]C:\Users\cristi na\Documents\Pr intScreen Files\py33_.jpg[/IMG]
Comment