【发布时间】:2019-01-26 05:03:10
【问题描述】:
我一直在尝试使用 python-docx 执行一些高级的 word 文档操作,但是 I was advised to use Microsoft office API.
问题是我无法从pywin32 home page 安装win32api,因为我收到以下错误:
(IntellibookVenv) MacBook-Pro-de-Hugo:Intellibook hugovillalobos$ pip install pywin32
Collecting pywin32
Could not find a version that satisfies the requirement pywin32 (from versions: )
No matching distribution found for pywin32
我不知道我收到错误是因为没有适用于 Mac 的 win32api 版本,还是我做错了什么。
【问题讨论】:
-
win32api只是 Windows 低级 win32 API 的包装器,如果没有某种操作系统模拟器或 VM,就不可能在 Mac 上运行它。