简体   繁体   中英

xlwings import error in python 2.7: Can't import name Workbook

(I know there is an original question regarding this issue but it differs a bit by having command run in home directory. Also no specific solution is mentioned)

I am using Anaconda2 python 2.7 (64bit) distribution. I have installed xlwings (version 0.9.3) on it using

pip install xlwings

Now I am trying to run a very basic command (in Ipython qtconsole):

from xlwings import Workbook

to which I get error as:

cannot import name workbook

I tried the same with a python script saved in my home directory which gave same error. However following command runs fine:

from xlwings import Range, Chart, __version__

Can anyone point out, what I may be doing wrong?

Workbook已从0.9版本更名为Book ,请参阅迁移指南 ,按照快速入门进行操作,或者只是看一下API

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM