Openpyxl missing 'jdcal'

前端 未结 4 406
粉色の甜心
粉色の甜心 2020-12-16 20:42

I tried to install the openpyxl module, but during the installation it showed some errors with JDcall. When I then try to import it, I get this err

相关标签:
4条回答
  • 2020-12-16 20:49

    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.

    0 讨论(0)
  • 2020-12-16 20:55

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

    0 讨论(0)
  • 2020-12-16 20:59

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

    0 讨论(0)
  • 2020-12-16 21:02

    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.

    0 讨论(0)
提交回复
热议问题