我有ubuntu 16.04
和python 3.5
我正在尝试安装python-docx
如下软件包:pip3 install python-docx
它说软件包安装成功,但尝试导入 python 文件时,如:
import docx
,给出错误:ImportError: No module named 'docx'
任何帮助表示赞赏
顺便说一句,pip3 show python-docx
显示:
Name: python-docx
Version: 0.8.10
Summary: Create and update Microsoft Word .docx files.
Home-page: https://github.com/python-openxml/python-docx
Author: Steve Canny
Author-email: python-docx@googlegroups.com
License: The MIT License (MIT)
Location: /home/otariki/.local/lib/python3.5/site-packages
Requires: lxml
Required-by: