No module named 'openpyxl' - Python 3.4 - Ubuntu

前端 未结 7 989
心在旅途
心在旅途 2020-12-16 08:57

I installed openpyxl with

$ pip install openpyxl

when I try the command

from openpyxl import Workbook
<         


        
7条回答
  •  被撕碎了的回忆
    2020-12-16 09:54

    If you don't use conda, just use :

    pip install openpyxl
    

    If you use conda, I'd recommend :

    conda install -c anaconda openpyxl
    

    instead of simply conda install openpyxl

    Because there are issues right now with conda updating (see GitHub Issue #8842) ; this is being fixed and it should work again after the next release (conda 4.7.6)

提交回复
热议问题