1、pip uninstall docx (把原来安装的docx卸载掉)
2、pip install python-docx
3、在pycham里ctrl+alt+s,进入设置界面。
4、在Project中,Python Interpreter中点“+”号,在弹出的搜索框里输入python-docx
5、安装,即可。
1、pip uninstall docx (把原来安装的docx卸载掉)
2、pip install python-docx
3、在pycham里ctrl+alt+s,进入设置界面。
4、在Project中,Python Interpreter中点“+”号,在弹出的搜索框里输入python-docx
5、安装,即可。