参考:http://www.itkeyword.com/doc/5783741505463668x366/no-module-named-openpyxl-python-3-4-ubuntu
reason::
pip refers to Python 2 as a default in Ubuntu, this means that pip install x will install the module for Python 2 and not for 3
solutiuon::
sudo apt-get install python3-openpyxl
本文介绍了解决在Ubuntu系统中使用Python 3安装openpyxl模块遇到的问题。由于默认情况下pip指向Python 2,因此直接使用pip安装可能会导致找不到模块的情况。文章提供了通过sudo apt-get install命令来正确安装适用于Python 3版本的openpyxl模块的方法。
6254

被折叠的 条评论
为什么被折叠?



