我需要阅读并获得.docx中段落的样式(在本例中为强),因此我尝试使用以下方法安装python-docx包(anacondapv3.9和pv2.7)但我得到的错误如下:DEPRECATION: Python 2.7 will reach the/
ERROR: Could not find a version that satisfies the re
所以我使用Python IDLE来创建我的代码,创建了一个环境变量来运行idle之外的运行窗口中的代码,它工作得很好。最近,我下载了一个类的Anaconda,当我试图从idle外部运行一段代码时,我得到了下面的错误消息。有没有办法将python查找包的目录更改为不同的路径,因为我假设一旦我下载了Anaconda,路径就已经更改了。我很感谢你的帮助。 这是我的回溯 File "C:\Users\h.omail\MyPythonScripts\RFQs.py", line 1, in <module>
import os, os.path, docx, w
您好,我正在使用mac,并使用pip安装python-docx。我进入C:\Python27\Scripts并运行 pip install python-docx 我想它应该已经安装好了。ImportError: No module named docx" when i checked the modules installed using pip using ```pip list``` python-docx