如题,win10环境配置pycharm 报错: Error processing line 7 of D:softwaresAnaconda3libsite-packagespywin32.pth
全部异常如下:
Error processing line 7 of D:Python-xlibsite-packagespywin32.pth:
Traceback (most recent call last):
File "D:Python-xlibsite.py", line 168, in addpackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pywin32_bootstrap'
解决: pywin32组件版本不兼容,需重新pip安装指定版本pywin32,具体如下:
pip install pywin32==225
参考: