使用来自excel的调用者的xlwings错误

我想从Excel使用调用Python代码

wb = xw.Book.caller() 

如果文件path是英文的,就可以运行。 但是,如果path具有其他语言,则会在Errorpopup窗口中显示

 --------------------------- Error --------------------------- C:\Anaconda2\lib\site-packages\xlwings\main.py:2692: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal throw = (os.path.normpath(os.path.realpath(impl.fullname.lower())) != os.path.normpath(fullname.lower())) Traceback (most recent call last): File "<string>", line 1, in <module> File "test.py", line 13, in plot_chart wb = xw.Book.caller() File "C:\Anaconda2\lib\site-packages\xlwings\main.py", line 545, in caller return cls(impl=app.books.open(fullname).impl) File "C:\Anaconda2\lib\site-packages\xlwings\main.py", line 2695, in open "Cannot open two workbooks named '%s', even if they are saved in different locations." % name ValueError: Cannot open two workbooks named 'test.xlsm', even if they are saved in different locations. 

猜猜这与unicode问题有关。 以前的版本我没有这种问题。 (例如0.6或0.7)更新到0.9.2版本后,这是一个新问题。

感谢您的任何帮助

PS我正在使用Python 2.7

xlwings 0.9.3版解决以上问题。 自我解决问题。