Python包:pywin32_postinstall返回错误

Python包:pywin32_postinstall返回错误,python,pywin32,Python,Pywin32,我正在尝试将python脚本作为windows服务运行,然后我需要使用pywin32 通过pip install安装pywin32后我应该运行pywin32\u postinstall作为python pywin32\u postinstall-install。我得到了这个答复,对这种情况再也不知道了: 在c:\python\lib\site包的元数据中找不到“scripts/pywin32\u postinstall.py”\ 因此,我无法运行我的服务 您是否遇到过类似的情况或有什么想法?尝

我正在尝试将python脚本作为windows服务运行,然后我需要使用pywin32

通过
pip install安装pywin32后
我应该运行
pywin32\u postinstall
作为
python pywin32\u postinstall-install
。我得到了这个答复,对这种情况再也不知道了:

在c:\python\lib\site包的元数据中找不到“scripts/pywin32\u postinstall.py”\

因此,我无法运行我的服务

您是否遇到过类似的情况或有什么想法?

尝试从安装目录的根目录运行“python scripts\pywin32\u postinstall.py-install”

我解决了我的问题

不要通过
pip安装

只需从此处下载合适的文件:

安装完成后,运行python pywin32_postinstall-install
,不会出现任何错误