我无法从我的iMac打开.xlsx文档,因为我的macbook pro上没有问题。我忘记了安装吗?
这是我的代码:
import xlrd
from xlrd import open_workbook,cellname
book = open_workbook("/Users/mathias/Dropbox/Python/users.xlsx")
错误:
...
File "/Library/Python/2.7/site-packages/xlrd/__init__.py", line 394, in open_workbook
f = open(filename, "rb")
IOError: [Errno 2] No such file or directory: '/Users/mathias/Dropbox/Python/users.xlsx'