Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
415 views
in Technique[技术] by (71.8m points)

python - Openpyxl missing 'jdcal'

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 error:

 Traceback (most recent call last):
  File "C:Andrzejworkspacesandboxsandbox.py", line 7, in <module>
    import openpyxl 

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxl\__init__.py", line 29, in <module>
    from openpyxl.workbook import Workbook

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxlworkbook\__init__.py", line 25, in <module>
    from .workbook import *

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxlworkbookworkbook.py", line 35, in <module>
    from openpyxl.worksheet import Worksheet

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxlworksheet\__init__.py", line 25, in <module>
    from .worksheet import *

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxlworksheetworksheet.py", line 35, in <module>
    import openpyxl.cell

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxlcell\__init__.py", line 25, in <module>
    from .cell import *

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxlcellcell.py", line 47, in <module>
    from openpyxl.date_time import (

  File "C:Python34libsite-packagesopenpyxl-2.0.5-py3.4.eggopenpyxldate_time.py", line 34, in <module>
    from jdcal import (

ImportError: No module named 'jdcal'

I get this same problem for Python 3.4 and 3.3, how can I solve it?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...