No module named 'openpyxl' - Python 3.4 - Ubuntu

前端 未结 7 963
心在旅途
心在旅途 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:59

    I had the same problem solved using instead of pip install :

    sudo apt-get install python-openpyxl
    sudo apt-get install python3-openpyxl
    

    The sudo command also works better for other packages.

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