Openpyxl missing 'jdcal'

北慕城南 提交于 2019-11-30 19:19:00
bibinjose

You should install jdcal separately. After this, install Openpyxl. I faced the same issue - after doing this, it got resolved

jdcal is a library required by openpyxl but should be installed automatically. How are you installing openpyxl?

user3377603

I managed to get openpyxl to work by uninstalling openpyxl, jdcall and et-xmlfile, then reinstalling all three, then upgrading all three.

Not sure why it works, and the error messages are still there, but I was able to successfully import openpyxl and create a workbook.

After I downloaded the jdcal-x.x.x.tar.gz from https://pypi.org/project/jdcal/#files and extracted it in \path\to\pythonxx\Lib\site-packages\ I had to copy the jdcal.py file from \path\to\pythonxx\Lib\site-packages\jdcal-1.4.1\ to \path\to\pythonxx\Lib\site-packages\ in order to work.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!