python - 在 mac 上安装模块 sendkeys 时出现问题
问题描述
我是新手 python 和 selenium 用户。我试图通过 pycharm ce 和终端安装 sendkeys。在这两种情况下都有错误。
我想这将是相关的部分
_sendkeys.c:14:10: fatal error: 'windows.h' file not found
#include "windows.h"
^~~~~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
尝试使用和不使用 sudo。pip、pip3 和 pip3.8 安装并没有区别。
解决方案
推荐阅读
- python - pdf2txt -python 中的等价物
- typescript - “文档”类型上不存在属性“字体”?
- c# - 在 Html.ValidationMessageFor 中过滤验证类型
- css - 更改优先级 css 样式表
- azure - 在 LogAnalytics 中从 Azure ActivityLog 跟踪资源删除
- java - 使用 RC4 算法逐行加密后,解密只产生一个正确的行
- azure - 监视 web.config 中的触发器不适用于 .net 核心 Web 应用程序
- python - 将数据传递给向导 odoo 11
- .net - 调用泛型函数(通过接口实现约束)会产生关于缺少约束的错误。我看不到什么?
- java - 映射 VS 复杂键的多个索引