Reputation: 11
I'm new in Python world and have a problem to import xlwings on PyCharm.
I have installed Python 3.5 and anaconda as well. Anaconda shows me that xlwings installed successfully and have the same result on pip. In project interpreter PyCharm I can see xlwings 0.7.2 but I get error and cannot install it.
Upvotes: 1
Views: 1629
Reputation: 452
I made this: For example, you have a workbook named "Book1" in your current working directory. Then:
from xlwings import Range, Workbook
wb_name = "Book1"
Workbook.set_mock_caller(wb_name)
wb = Workbook.caller()
print(Range(1, 'A1').value)
You can made that. I had installed Anaconda and PyCharm and for my it's good.
Upvotes: 0