python自动点击脚本_通过Python来制作自动点击脚本

搜索得知要安装pymouse模块,顺利完成。

实际使用却出错,查找得知需要加装pyhook,上官网下载.whl文件。

接着安装,疯狂失败:pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

版本不匹配,但我已经尝试了所有的版本!!!

哦,查配适版本的代码:

win32

import pip

print(pip.pep425tags.get_supported())

amd64:

import pip._internal

print(pip._internal.pep425tags.get_supported())

均提示:

AttributeError: module 'pip._internal' has no attribute 'pep425tags'

这可能是python版本的问题(服了呢)

可能是wheel不太好使,在官网上查到

pip install wheel

pip wheel  --wheel-dir=/local/wheels -r requirements.txt

第二步出错,找不到requirements

requirtments的安装方法:

pip freeze>requirements.txt

pip install -r requirements.txt

成功,但依旧出错:ERROR: Could not find a version that satisfies the requirement PyInstaller==4.0.dev0+1eadfa55f2 (from -r requirements.txt (line 14)) (from versions: 2.0, 2.1, 3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.3, 3.3.1, 3.4, 3.5, 3.6)

ERROR: No matching distribution found for PyInstaller==4.0.dev0+1eadfa55f2 (from -r requirements.txt (line 14))

暂时无解了。。。。。。。(路径问题已排除)

还可以再找一个wheel文件试一下能否安装,或者别的方法来安装。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值