基于深度强化学习的原神自动钓鱼AI

Overview

Introduction

原神自动钓鱼AI由YOLOX, DQN两部分模型组成。使用迁移学习,半监督学习进行训练。 模型也包含一些使用opencv等传统数字图像处理方法实现的不可学习部分。

其中YOLOX用于鱼的定位和类型的识别以及鱼竿落点的定位。DQN用于自适应控制钓鱼过程的点击,让力度落在最佳区域内。

安装使用流程

安装python运行环境(解释器),推荐使用 anaconda.

python环境配置

打开anaconda prompt(命令行界面),创建新python环境并激活:

conda create -n ysfish python=3.6
conda activate ysfish

推荐安装python3.7或以下版本。

下载工程代码

使用git下载,git安装教程:

git clone https://github.com/7eu7d7/genshin_auto_fish.git

或直接在github网页端下载后直接解压。

依赖库安装

切换命令行到本工程所在目录:

cd genshin_auto_fish

执行以下命令安装依赖:

python -m pip install -U pip
python requirements.py

如果要使用显卡进行加速需要 安装CUDA和cudnn 安装后无视上面的命令用下面这条安装gpu版:

pip install -U pip
python requirements.py --cuda [cuda版本]
#例如安装的CUDA11.x
python requirements.py --cuda 110

可能会有Time out之类的报错,多试几遍,github太卡。

安装yolox

切换命令行到本工程所在目录,执行以下命令安装yolox:

python setup.py develop

预训练权重下载

下载预训练权重 (.pth文件),yolox_tiny.pth 下载后将权重文件放在 工程目录/weights

YOLOX训练工作流程

<只用来钓鱼不需要训练,直接用预训练权重就可以>

YOLOX部分因为打标签太累所以用半监督学习。标注少量样本后训练模型生成其余样本伪标签再人工修正,不断迭代提高精度。 样本量较少所以使用迁移学习,在COCO预训练的模型上进行fine-tuning.

下载数据集并解压:原神鱼群数据集, 数据集(迅雷云盘:ugha)

将yolox/exp/yolox_tiny_fish.py中的self.data_dir的值改为解压后2个文件夹所在的路径。

训练代码:

python yolox_tools/train.py -f yolox/exp/yolox_tiny_fish.py -d 1 -b 8 --fp16 -o -c weights/yolox_tiny.pth

DQN训练工作流程

控制力度使用强化学习模型DQN进行训练。两次进度的差值作为reward为模型提供学习方向。模型与环境间交互式学习。

直接在原神内训练耗时较长,太累了。首先制作一个仿真环境,大概模拟钓鱼力度控制操作。在仿真环境内预训练一个模型。 随后将这一模型迁移至原神内,实现域间迁移。

仿真环境预训练代码:

python train_sim.py

原神游戏内训练:

python train.py

运行钓鱼AI

命令行窗口一定要以管理员权限启动

显卡加速

python fishing.py image -f yolox/exp/yolox_tiny_fish.py -c weights/best_tiny3.pth --conf 0.25 --nms 0.45 --tsize 640 --device gpu

cpu运行

python fishing.py image -f yolox/exp/yolox_tiny_fish.py -c weights/best_tiny3.pth --conf 0.25 --nms 0.45 --tsize 640 --device cpu

运行后出现init ok后按r键开始钓鱼,原神需要全屏。出于性能考虑检测框不会实时显示,处理运算后台进行。

Comments
  •  [Errno 32] Broken pipe问题

    [Errno 32] Broken pipe问题

    File "E:\Download\python\envs\ysfish\lib\multiprocessing\reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) │ │ │ └ <Process(Process-3, initial daemon)> │ │ └ None │ └ <_io.BufferedWriter name=4> └ <class 'multiprocessing.reduction.ForkingPickler'>

    BrokenPipeError: [Errno 32] Broken pipe 如何解决?

    opened by whitedustmoon1175 13
  • requirements.py 出错

    requirements.py 出错

    WARNING: Discarding git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI. Command errored out with exit status 128: git clone --filter=blob:none -q https://github.com/philferriere/cocoapi.git 'C:\Users\ttttoooo\AppData\Local\Temp\pip-req-build-zzdm1v0m' Check the logs for full command output. ERROR: Command errored out with exit status 128: git clone --filter=blob:none -q https://github.com/philferriere/cocoapi.git 'C:\Users\ttttoooo\AppData\Local\Temp\pip-req-build-zzdm1v0m' Check the logs for full command output.

    opened by toto222 8
  • YOLO训练时报错

    YOLO训练时报错

    (ysfish) C:\Users\winds\Downloads\genshin_auto_fish-master>python yolox_tools/train.py -f yolox/exp/yolox_tiny_fish.py -d 1 -b 8 --fp16 -o -c weights/yolox_tiny.pth 2021-09-22 11:45:57 | INFO | yolox.core.trainer:126 - args: Namespace(batch_size=8, cache=False, ckpt='weights/yolox_tiny.pth', devices=1, dist_backend='nccl', dist_url=None, exp_file='yolox/exp/yolox_tiny_fish.py', experiment_name='yolox_tiny_fish', fp16=True, machine_rank=0, name=None, num_machines=1, occupy=True, opts=[], resume=False, start_epoch=None) 2021-09-22 11:45:57 | INFO | yolox.core.trainer:127 - exp value: ╒══════════════════╤═════════════════════════╕ │ keys │ values │ ╞══════════════════╪═════════════════════════╡ │ seed │ None │ ├──────────────────┼─────────────────────────┤ │ output_dir │ './YOLOX_outputs' │ ├──────────────────┼─────────────────────────┤ │ print_interval │ 10 │ ├──────────────────┼─────────────────────────┤ │ eval_interval │ 10 │ ├──────────────────┼─────────────────────────┤ │ num_classes │ 6 │ ├──────────────────┼─────────────────────────┤ │ depth │ 0.33 │ ├──────────────────┼─────────────────────────┤ │ width │ 0.375 │ ├──────────────────┼─────────────────────────┤ │ data_num_workers │ 4 │ ├──────────────────┼─────────────────────────┤ │ input_size │ (640, 640) │ ├──────────────────┼─────────────────────────┤ │ multiscale_range │ 5 │ ├──────────────────┼─────────────────────────┤ │ data_dir │ '../datas/fish_dataset' │ ├──────────────────┼─────────────────────────┤ │ data_name │ 'images' │ ├──────────────────┼─────────────────────────┤ │ val_name │ 'images' │ ├──────────────────┼─────────────────────────┤ │ train_ann │ 'fish_p2_75+jam.json' │ ├──────────────────┼─────────────────────────┤ │ val_ann │ 'fish_p2_75+jam.json' │ ├──────────────────┼─────────────────────────┤ │ mosaic_prob │ 1.0 │ ├──────────────────┼─────────────────────────┤ │ mixup_prob │ 1.0 │ ├──────────────────┼─────────────────────────┤ │ hsv_prob │ 1.0 │ ├──────────────────┼─────────────────────────┤ │ flip_prob │ 0.5 │ ├──────────────────┼─────────────────────────┤ │ degrees │ 10.0 │ ├──────────────────┼─────────────────────────┤ │ translate │ 0.1 │ ├──────────────────┼─────────────────────────┤ │ mosaic_scale │ (0.5, 1.5) │ ├──────────────────┼─────────────────────────┤ │ mixup_scale │ (0.5, 1.5) │ ├──────────────────┼─────────────────────────┤ │ shear │ 2.0 │ ├──────────────────┼─────────────────────────┤ │ perspective │ 0.0 │ ├──────────────────┼─────────────────────────┤ │ enable_mixup │ False │ ├──────────────────┼─────────────────────────┤ │ warmup_epochs │ 5 │ ├──────────────────┼─────────────────────────┤ │ max_epoch │ 35 │ ├──────────────────┼─────────────────────────┤ │ warmup_lr │ 0 │ ├──────────────────┼─────────────────────────┤ │ basic_lr_per_img │ 0.00025 │ ├──────────────────┼─────────────────────────┤ │ scheduler │ 'yoloxwarmcos' │ ├──────────────────┼─────────────────────────┤ │ no_aug_epochs │ 15 │ ├──────────────────┼─────────────────────────┤ │ min_lr_ratio │ 0.05 │ ├──────────────────┼─────────────────────────┤ │ ema │ True │ ├──────────────────┼─────────────────────────┤ │ weight_decay │ 0.0005 │ ├──────────────────┼─────────────────────────┤ │ momentum │ 0.9 │ ├──────────────────┼─────────────────────────┤ │ exp_name │ 'yolox_tiny_fish' │ ├──────────────────┼─────────────────────────┤ │ test_size │ (416, 416) │ ├──────────────────┼─────────────────────────┤ │ test_conf │ 0.01 │ ├──────────────────┼─────────────────────────┤ │ nmsthre │ 0.65 │ ├──────────────────┼─────────────────────────┤ │ input_scale │ (416, 416) │ ├──────────────────┼─────────────────────────┤ │ random_size │ (10, 20) │ ╘══════════════════╧═════════════════════════╛ 2021-09-22 11:45:57 | INFO | yolox.core.trainer:133 - Model Summary: Params: 5.03M, Gflops: 6.40 2021-09-22 11:45:59 | INFO | yolox.core.trainer:286 - loading checkpoint for fine tuning 2021-09-22 11:46:00 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.0.weight in checkpoint is torch.Size([80, 96, 1, 1]), while shape of head.cls_preds.0.weight in model is torch.Size([6, 96, 1, 1]). 2021-09-22 11:46:00 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.0.bias in checkpoint is torch.Size([80]), while shape of head.cls_preds.0.bias in model is torch.Size([6]). 2021-09-22 11:46:00 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.1.weight in checkpoint is torch.Size([80, 96, 1, 1]), while shape of head.cls_preds.1.weight in model is torch.Size([6, 96, 1, 1]). 2021-09-22 11:46:00 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.1.bias in checkpoint is torch.Size([80]), while shape of head.cls_preds.1.bias in model is torch.Size([6]). 2021-09-22 11:46:00 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.2.weight in checkpoint is torch.Size([80, 96, 1, 1]), while shape of head.cls_preds.2.weight in model is torch.Size([6, 96, 1, 1]). 2021-09-22 11:46:00 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.2.bias in checkpoint is torch.Size([80]), while shape of head.cls_preds.2.bias in model is torch.Size([6]). 2021-09-22 11:46:00 | INFO | yolox.data.datasets.coco:45 - loading annotations into memory... Exception ignored in: <bound method COCODataset.del of <yolox.data.datasets.coco.COCODataset object at 0x000001A99913D860>> Traceback (most recent call last): 2021-09-22 11:46:00 File "c:\users\winds\downloads\genshin_auto_fish-master\yolox\data\datasets\coco.py", line 62, in del del self.imgs | AttributeError: imgs ERROR | yolox.core.launch:98 - An error has been caught in function 'launch', process 'MainProcess' (17720), thread 'MainThread' (3104): Traceback (most recent call last): File "yolox_tools\train.py", line 132, in args=(exp, args), │ └ Namespace(batch_size=8, cache=False, ckpt='weights/yolox_tiny.pth', devices=1, dist_backend='nccl', dist_url=None, exp_file='... └ ╒══════════════════╤═════════════════════════════════════════════════════════════════════════════════════════════════════════... > File "c:\users\winds\downloads\genshin_auto_fish-master\yolox\core\launch.py", line 98, in launch main_func(*args) │ └ (╒══════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════... └ <function main at 0x000001A9911350D0> File "yolox_tools\train.py", line 110, in main trainer.train() │ └ <function Trainer.train at 0x000001A98F51D6A8> └ <yolox.core.trainer.Trainer object at 0x000001A99113CA58> File "c:\users\winds\downloads\genshin_auto_fish-master\yolox\core\trainer.py", line 70, in train self.before_train() │ └ <function Trainer.before_train at 0x000001A99011A598> └ <yolox.core.trainer.Trainer object at 0x000001A99113CA58> File "c:\users\winds\downloads\genshin_auto_fish-master\yolox\core\trainer.py", line 149, in before_train cache_img=self.args.cache, │ │ └ False │ └ Namespace(batch_size=8, cache=False, ckpt='weights/yolox_tiny.pth', devices=1, dist_backend='nccl', dist_url=None, exp_file='... └ <yolox.core.trainer.Trainer object at 0x000001A99113CA58> File "c:\users\winds\downloads\genshin_auto_fish-master\yolox\exp\yolox_base.py", line 122, in get_data_loader cache=cache_img, └ False File "c:\users\winds\downloads\genshin_auto_fish-master\yolox\data\datasets\coco.py", line 45, in init self.coco = COCO(os.path.join(self.data_dir, "annotations", self.json_file)) │ │ │ │ │ │ │ │ └ 'fish_p2_75+jam.json' │ │ │ │ │ │ │ └ <yolox.data.datasets.coco.COCODataset object at 0x000001A99913D860> │ │ │ │ │ │ └ '../datas/fish_dataset' │ │ │ │ │ └ <yolox.data.datasets.coco.COCODataset object at 0x000001A99913D860> │ │ │ │ └ <function join at 0x000001A90F6E3620> │ │ │ └ <module 'ntpath' from 'C:\ProgramData\Anaconda3\envs\ysfish\lib\ntpath.py'> │ │ └ <module 'os' from 'C:\ProgramData\Anaconda3\envs\ysfish\lib\os.py'> │ └ <class 'pycocotools.coco.COCO'> └ <yolox.data.datasets.coco.COCODataset object at 0x000001A99913D860> File "C:\ProgramData\Anaconda3\envs\ysfish\lib\site-packages\pycocotools\coco.py", line 85, in init dataset = json.load(open(annotation_file, 'r')) │ │ └ '../datas/fish_dataset\annotations\fish_p2_75+jam.json' │ └ <function load at 0x000001A9117DEB70> └ <module 'json' from 'C:\ProgramData\Anaconda3\envs\ysfish\lib\json\init.py'> FileNotFoundError: [Errno 2] No such file or directory: '../datas/fish_dataset\annotations\fish_p2_75+jam.json'

    屏幕截图(17).png 屏幕截图(19).png 屏幕截图(20).png 屏幕截图(18).png

    opened by windskyxb 8
  • 关于安装教程

    关于安装教程

    关于 pip 升级

    不清楚作者是如何升级 pip 的,教程里的命令会不会报错。 以下是个人拙见,望参考:

    pip 由于是 lib 模块,直接 pip install pip -U 升级的话可能存在权限问题,建议改成以下命令:

    python -m pip install pip -U
    

    根据 #2 的报错,以下命令也许也行?

    pip install pip -U --user
    

    关于 yolox 安装

    这个 emmmmmm,有点怪。 因为其他库的需要,我之前已经装过 msvc++ 14.0了,但我这里一直报error: Microsoft Visual C++ 14.0 or greater is required,如图。 image image

    不知道是不是需要额外设置什么环境变量,还是说我装的和被要求的 build 版本不对,又或许和我 OS 版本有关系?(Windows 10 19041.1237) C++ 这方面不怎么擅长,我也尝试了用 conda 安装 msvc_runtime 再安装 yolox、或手动 clone yolox 的库进行安装,结果都是报这个错。

    准备尝试重装一个 msvc 14.0 再试试,有进展再来更新。

    opened by niceRAM 7
  • 安装cocoapi 时候报错

    安装cocoapi 时候报错

    File "C:\ProgramData\Anaconda3\lib\distutils\cygwinccompiler.py", line 129, in init if self.ld_version >= "2.10.90": TypeError: '>=' not supported between instances of 'NoneType' and 'str'

    已经试过1. conda install libpython 2.安装Visual C++ 2015

    opened by wuyehuanq 5
  • 运行时python setup.py develop报错

    运行时python setup.py develop报错

    (base) C:\Users\chunm\genshin_auto_fish>python setup.py develop running develop D:\Users\chunm\anaconda3\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\Users\chunm\anaconda3\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info writing yolox.egg-info\PKG-INFO writing dependency_links to yolox.egg-info\dependency_links.txt writing top-level names to yolox.egg-info\top_level.txt D:\Users\chunm\anaconda3\lib\site-packages\torch\utils\cpp_extension.py:387: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) reading manifest file 'yolox.egg-info\SOURCES.txt' writing manifest file 'yolox.egg-info\SOURCES.txt' running build_ext D:\Users\chunm\anaconda3\lib\site-packages\torch\utils\cpp_extension.py:322: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'yolox._C' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

    opened by chunma26 4
  • 报错求助pywintypes.error: (0, 'SetCursorPos', 'No error message is available')

    报错求助pywintypes.error: (0, 'SetCursorPos', 'No error message is available')

    运行后按r鼠标开始移动,切到游戏画面后不再做出动作,再切出来发现报错 F:\genshin_auto_fish-master>python fishing.py image -f yolox/exp/yolox_tiny_fish.py -c weights/best_tiny3.pth --conf 0.25 --nms 0.45 --tsize 640 --device gpu 2022-03-07 23:54:21.950 | INFO | main:main:91 - Args: Namespace(ckpt='weights/best_tiny3.pth', conf=0.25, demo='image', device='gpu', exp_file='yolox/exp/yolox_tiny_fish.py', experiment_name='yolox_tiny_fish', fp16=False, fuse=False, legacy=False, model_dir='./weights/fish_genshin_net.pth', n_actions=2, n_states=3, name=None, nms=0.45, path='./assets/dog.jpg', step_tick=12, trt=False, tsize=640) 2022-03-07 23:54:22.118 | INFO | main:main:101 - Model Summary: Params: 5.03M, Gflops: 15.15 2022-03-07 23:54:24.370 | INFO | main:main:114 - loading checkpoint 2022-03-07 23:54:24.559 | INFO | main:main:118 - loaded checkpoint done. INIT OK Waiting for "r" to perform fishing 2022-03-07 23:54:33.378 | INFO | fisher.predictor:inference:77 - Infer time: 1.0459s 2022-03-07 23:54:33.659 | INFO | fisher.predictor:inference:77 - Infer time: 0.0399s 2022-03-07 23:54:33.942 | INFO | fisher.predictor:inference:77 - Infer time: 0.0359s 2022-03-07 23:54:34.223 | INFO | fisher.predictor:inference:77 - Infer time: 0.0409s 2022-03-07 23:54:34.522 | INFO | fisher.predictor:inference:77 - Infer time: 0.0479s 2022-03-07 23:54:34.817 | INFO | fisher.predictor:inference:77 - Infer time: 0.0389s 2022-03-07 23:54:35.093 | INFO | fisher.predictor:inference:77 - Infer time: 0.0359s 2022-03-07 23:54:35.374 | INFO | fisher.predictor:inference:77 - Infer time: 0.0369s 2022-03-07 23:54:35.655 | INFO | fisher.predictor:inference:77 - Infer time: 0.0349s 2022-03-07 23:54:35.931 | INFO | fisher.predictor:inference:77 - Infer time: 0.0365s 2022-03-07 23:54:36.237 | INFO | fisher.predictor:inference:77 - Infer time: 0.0499s 2022-03-07 23:54:36.522 | INFO | fisher.predictor:inference:77 - Infer time: 0.0399s Traceback (most recent call last): File "fishing.py", line 215, in main(exp, args) File "fishing.py", line 153, in main start_fishing(predictor, agent) File "fishing.py", line 170, in start_fishing result: bool = ff.do_fish() File "F:\genshin_auto_fish-master\fisher\environment.py", line 180, in do_fish self.throw_rod(self.fish_list[0]) File "F:\genshin_auto_fish-master\fisher\environment.py", line 115, in throw_rod mouse_down(960, 540) File "F:\genshin_auto_fish-master\utils\utils.py", line 83, in mouse_down win32api.SetCursorPos((xx,yy)) pywintypes.error: (0, 'SetCursorPos', 'No error message is available')

    opened by peeeer 4
  • 调一条之后,报错,乱抛杆

    调一条之后,报错,乱抛杆

    2022-01-17 16:02:10.488 | INFO | fisher.predictor:inference:77 - Infer time: 0.3670s Traceback (most recent call last): File "D:\genshin_auto_fish\fisher\environment.py", line 69, in throw_rod fish_info = min(list(filter(lambda x: x[0] == fish_type, obj_list)), ValueError: min() arg is an empty sequence 2022-01-17 16:02:11.015 | INFO | fisher.predictor:inference:77 - Infer time: 0.3610s Traceback (most recent call last): File "D:\genshin_auto_fish\fisher\environment.py", line 69, in throw_rod fish_info = min(list(filter(lambda x: x[0] == fish_type, obj_list)), ValueError: min() arg is an empty sequence

    opened by scopion 4
  • 海外执行requirement.py报错 capture_output和torch 1.7.0不适配cuda10.2

    海外执行requirement.py报错 capture_output和torch 1.7.0不适配cuda10.2

    image

    前面部分全部照抄,3.6版本的python,进了ysfish环境后,用的命令是 python requirements.py --cuda 102(我cuda是10.2版本) 自己也算是做机器学习的,各种轮子也用过不少,不过还真没碰到过这种情况,不知道发生了什么,海外应该不是网络问题吧? 最后只能自己手动对着里面的东西安装了,落泪

    opened by ForeverNightmare 4
  • DQN的一些改进建议

    DQN的一些改进建议

    1. 我看您在环境中定义了done,但是在构建TD target 的时候没有使用,严谨的用法应该将done也存储在replay buffer中, 并在构建TD target的时候加上。 q_target = b_r + self.gamma * (1 - d)* q_next.max(dim=1)[0].view(self.batch_size, 1)

    2. Double DQN相较于DQN的提升还是很可观的,实现也只需要额外加一两行代码。只需额外forward一次,使用eval_net得到argmax a',用该a'去q_next中选择动作构建TD target,比如: q_eval_next = self.eval_net(b_s_).detach() b_a_ = torch.argmax(q_eval_next, dim=1, keepdim=True) # get eval_net's argmax_a'(Q(s', a')) q_target_next = self.target_net(b_s_).detach() q_target = b_r + self.gamma * (1 - d) * q_target_next.gather(1, b_a_)

    3. epsilon-greedy中的epsilon通常是以epsilon的概率去探索,您这边反过来了,以(1-epsilon)探索,可能会产生歧义。

    4. 关于DQN冷启动的问题,一开始策略比较差且replay_buffer为空时,可以先用random policy跑几个episode把数据存到replay_buffer中,这样后面学的更快。

    5. 不对的地方大佬轻喷,逃~

    opened by Hyperion-shuo 4
  • 运行python requirements.py后报错

    运行python requirements.py后报错

    D:\Desktop\genshin_auto_fish-master>python requirements.py Requirement already satisfied: cython in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.29.32) Requirement already satisfied: scikit-image in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.19.3) Requirement already satisfied: pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (9.3.0) Requirement already satisfied: tifffile>=2019.7.26 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (2022.10.10) Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (1.4.1) Requirement already satisfied: networkx>=2.2 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (2.8.8) Requirement already satisfied: imageio>=2.4.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (2.22.4) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (21.3) Requirement already satisfied: numpy>=1.17.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (1.23.5) Requirement already satisfied: scipy>=1.4.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (1.9.3) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from packaging>=20.0->scikit-image) (3.0.9) Requirement already satisfied: loguru in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.6.0) Requirement already satisfied: win32-setctime>=1.0.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from loguru) (1.1.0) Requirement already satisfied: colorama>=0.3.4 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from loguru) (0.4.6) Requirement already satisfied: matplotlib in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (3.6.2) Requirement already satisfied: fonttools>=4.22.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (4.38.0) Requirement already satisfied: cycler>=0.10 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (0.11.0) Requirement already satisfied: python-dateutil>=2.7 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (2.8.2) Requirement already satisfied: pillow>=6.2.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (9.3.0) Requirement already satisfied: contourpy>=1.0.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (1.0.6) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (21.3) Requirement already satisfied: numpy>=1.19 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (1.23.5) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (1.4.4) Requirement already satisfied: pyparsing>=2.2.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (3.0.9) Requirement already satisfied: six>=1.5 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0) Requirement already satisfied: tabulate in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.9.0) Requirement already satisfied: tqdm in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (4.64.1) Requirement already satisfied: colorama in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tqdm) (0.4.6) Requirement already satisfied: pywin32 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (305) Requirement already satisfied: PyAutoGUI in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.9.53) Requirement already satisfied: pymsgbox in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (1.0.9) Requirement already satisfied: PyTweening>=1.0.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (1.0.4) Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (0.1.28) Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (0.0.9) Requirement already satisfied: mouseinfo in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (0.1.3) Requirement already satisfied: pyrect in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pygetwindow>=0.0.5->PyAutoGUI) (0.2.0) Requirement already satisfied: pyperclip in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from mouseinfo->PyAutoGUI) (1.8.2) Requirement already satisfied: PyYAML>=5.3.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (6.0) Requirement already satisfied: opencv_python in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (4.6.0.66) Requirement already satisfied: numpy>=1.19.3 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from opencv_python) (1.23.5) Requirement already satisfied: keyboard in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.13.5) Requirement already satisfied: Pillow in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (9.3.0) Requirement already satisfied: pymouse in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (1.0) Collecting numpy==1.19.5 Using cached numpy-1.19.5.zip (7.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

    × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [202 lines of output] setup.py:67: RuntimeWarning: NumPy 1.19.5 may not yet support Python 3.10. warnings.warn( Running from numpy source directory. setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates run_build = parse_setuppy_commands() Processing numpy/random_bounded_integers.pxd.in Processing numpy/random\bit_generator.pyx Processing numpy/random\mtrand.pyx Processing numpy/random_bounded_integers.pyx.in Processing numpy/random_common.pyx Processing numpy/random_generator.pyx Processing numpy/random_mt19937.pyx Processing numpy/random_pcg64.pyx Processing numpy/random_philox.pyx Processing numpy/random_sfc64.pyx Cythonizing sources blas_opt_info: blas_mkl_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries mkl_rt not found in ['C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib', 'C:\', 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs'] NOT AVAILABLE

      blis_info:
        libraries blis not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      openblas_info:
        libraries openblas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
      get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
      customize GnuFCompiler
      Could not locate executable g77
      Could not locate executable f77
      customize IntelVisualFCompiler
      Could not locate executable ifort
      Could not locate executable ifl
      customize AbsoftFCompiler
      Could not locate executable f90
      customize CompaqVisualFCompiler
      Could not locate executable DF
      customize IntelItaniumVisualFCompiler
      Could not locate executable efl
      customize Gnu95FCompiler
      Could not locate executable gfortran
      Could not locate executable f95
      customize G95FCompiler
      Could not locate executable g95
      customize IntelEM64VisualFCompiler
      customize IntelEM64TFCompiler
      Could not locate executable efort
      Could not locate executable efc
      customize PGroupFlangCompiler
      Could not locate executable flang
      don't know how to compile Fortran code on platform 'nt'
        NOT AVAILABLE
    
      atlas_3_10_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries tatlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_3_10_blas_info:
        libraries satlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries ptf77blas,ptcblas,atlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_blas_info:
        libraries f77blas,cblas,atlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      accelerate_info:
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-hp1cco7n\numpy_34b62779d9cb48269def6e17196a1b7d\numpy\distutils\system_info.py:1914: UserWarning:
          Optimized (vendor) Blas libraries are not found.
          Falls back to netlib Blas library which has worse performance.
          A better performance should be easily gained by switching
          Blas library.
        if self._calc_info(blas):
      blas_info:
        libraries blas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-hp1cco7n\numpy_34b62779d9cb48269def6e17196a1b7d\numpy\distutils\system_info.py:1914: UserWarning:
          Blas (http://www.netlib.org/blas/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [blas]) or by setting
          the BLAS environment variable.
        if self._calc_info(blas):
      blas_src_info:
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-hp1cco7n\numpy_34b62779d9cb48269def6e17196a1b7d\numpy\distutils\system_info.py:1914: UserWarning:
          Blas (http://www.netlib.org/blas/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [blas_src]) or by setting
          the BLAS_SRC environment variable.
        if self._calc_info(blas):
        NOT AVAILABLE
    
      non-existing path in 'numpy\\distutils': 'site.cfg'
      lapack_opt_info:
      lapack_mkl_info:
        libraries mkl_rt not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      openblas_lapack_info:
        libraries openblas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      openblas_clapack_info:
        libraries openblas,lapack not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      flame_info:
        libraries flame not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries tatlas,tatlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries tatlas,tatlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries tatlas,tatlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
        NOT AVAILABLE
    
      atlas_3_10_info:
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries satlas,satlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries satlas,satlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries satlas,satlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_3_10_info'>
        NOT AVAILABLE
    
      atlas_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries ptf77blas,ptcblas,atlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_threads_info'>
        NOT AVAILABLE
    
      atlas_info:
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries f77blas,cblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries f77blas,cblas,atlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries f77blas,cblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_info'>
        NOT AVAILABLE
    
      lapack_info:
        libraries lapack not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-hp1cco7n\numpy_34b62779d9cb48269def6e17196a1b7d\numpy\distutils\system_info.py:1748: UserWarning:
          Lapack (http://www.netlib.org/lapack/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [lapack]) or by setting
          the LAPACK environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
      lapack_src_info:
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-hp1cco7n\numpy_34b62779d9cb48269def6e17196a1b7d\numpy\distutils\system_info.py:1748: UserWarning:
          Lapack (http://www.netlib.org/lapack/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [lapack_src]) or by setting
          the LAPACK_SRC environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
        NOT AVAILABLE
    
      numpy_linalg_lapack_lite:
        FOUND:
          language = c
          define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
    
      C:\Users\admin\AppData\Local\Temp\pip-build-env-rzu6hhtg\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
        warnings.warn(msg)
      running dist_info
      running build_src
      build_src
      building py_modules sources
      creating build
      creating build\src.win-amd64-3.10
      creating build\src.win-amd64-3.10\numpy
      creating build\src.win-amd64-3.10\numpy\distutils
      building library "npymath" sources
      error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
      [end of output]
    

    note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

    × Encountered error while generating package metadata. ╰─> See above for output.

    note: This is an issue with the package mentioned above, not pip. hint: See above for details. Traceback (most recent call last): File "D:\Desktop\genshin_auto_fish-master\requirements.py", line 74, in main() File "D:\Desktop\genshin_auto_fish-master\requirements.py", line 68, in main pip_install(args.proxy, line.split()) File "D:\Desktop\genshin_auto_fish-master\requirements.py", line 13, in pip_install subprocess.run( File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['C:\Users\admin\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe', '-m', 'pip', 'install', 'numpy==1.19.5']' returned non-zero exit status 1.

    D:\Desktop\genshin_auto_fish-master>python requirements.py Requirement already satisfied: cython in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.29.32) Requirement already satisfied: scikit-image in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.19.3) Requirement already satisfied: scipy>=1.4.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (1.9.3) Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (1.4.1) Requirement already satisfied: pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (9.3.0) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (21.3) Requirement already satisfied: imageio>=2.4.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (2.22.4) Requirement already satisfied: numpy>=1.17.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (1.23.5) Requirement already satisfied: networkx>=2.2 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (2.8.8) Requirement already satisfied: tifffile>=2019.7.26 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image) (2022.10.10) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from packaging>=20.0->scikit-image) (3.0.9) Requirement already satisfied: loguru in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.6.0) Requirement already satisfied: win32-setctime>=1.0.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from loguru) (1.1.0) Requirement already satisfied: colorama>=0.3.4 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from loguru) (0.4.6) Requirement already satisfied: matplotlib in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (3.6.2) Requirement already satisfied: fonttools>=4.22.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (4.38.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (1.4.4) Requirement already satisfied: pillow>=6.2.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (9.3.0) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (21.3) Requirement already satisfied: pyparsing>=2.2.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (3.0.9) Requirement already satisfied: numpy>=1.19 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (1.23.5) Requirement already satisfied: contourpy>=1.0.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (1.0.6) Requirement already satisfied: python-dateutil>=2.7 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (2.8.2) Requirement already satisfied: cycler>=0.10 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib) (0.11.0) Requirement already satisfied: six>=1.5 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0) Requirement already satisfied: tabulate in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.9.0) Requirement already satisfied: tqdm in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (4.64.1) Requirement already satisfied: colorama in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tqdm) (0.4.6) Requirement already satisfied: pywin32 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (305) Requirement already satisfied: PyAutoGUI in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.9.53) Requirement already satisfied: pymsgbox in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (1.0.9) Requirement already satisfied: PyTweening>=1.0.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (1.0.4) Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (0.1.28) Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (0.0.9) Requirement already satisfied: mouseinfo in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from PyAutoGUI) (0.1.3) Requirement already satisfied: pyrect in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pygetwindow>=0.0.5->PyAutoGUI) (0.2.0) Requirement already satisfied: pyperclip in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from mouseinfo->PyAutoGUI) (1.8.2) Requirement already satisfied: PyYAML>=5.3.1 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (6.0) Requirement already satisfied: opencv_python in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (4.6.0.66) Requirement already satisfied: numpy>=1.17.3 in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from opencv_python) (1.23.5) Requirement already satisfied: keyboard in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.13.5) Requirement already satisfied: Pillow in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (9.3.0) Requirement already satisfied: pymouse in c:\users\admin\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (1.0) Collecting numpy==1.19.5 Using cached numpy-1.19.5.zip (7.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

    × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [202 lines of output] setup.py:67: RuntimeWarning: NumPy 1.19.5 may not yet support Python 3.10. warnings.warn( Running from numpy source directory. setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates run_build = parse_setuppy_commands() Processing numpy/random_bounded_integers.pxd.in Processing numpy/random\bit_generator.pyx Processing numpy/random\mtrand.pyx Processing numpy/random_bounded_integers.pyx.in Processing numpy/random_common.pyx Processing numpy/random_generator.pyx Processing numpy/random_mt19937.pyx Processing numpy/random_pcg64.pyx Processing numpy/random_philox.pyx Processing numpy/random_sfc64.pyx Cythonizing sources blas_opt_info: blas_mkl_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries mkl_rt not found in ['C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib', 'C:\', 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs'] NOT AVAILABLE

      blis_info:
        libraries blis not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      openblas_info:
        libraries openblas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
      get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
      customize GnuFCompiler
      Could not locate executable g77
      Could not locate executable f77
      customize IntelVisualFCompiler
      Could not locate executable ifort
      Could not locate executable ifl
      customize AbsoftFCompiler
      Could not locate executable f90
      customize CompaqVisualFCompiler
      Could not locate executable DF
      customize IntelItaniumVisualFCompiler
      Could not locate executable efl
      customize Gnu95FCompiler
      Could not locate executable gfortran
      Could not locate executable f95
      customize G95FCompiler
      Could not locate executable g95
      customize IntelEM64VisualFCompiler
      customize IntelEM64TFCompiler
      Could not locate executable efort
      Could not locate executable efc
      customize PGroupFlangCompiler
      Could not locate executable flang
      don't know how to compile Fortran code on platform 'nt'
        NOT AVAILABLE
    
      atlas_3_10_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries tatlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_3_10_blas_info:
        libraries satlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries ptf77blas,ptcblas,atlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_blas_info:
        libraries f77blas,cblas,atlas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      accelerate_info:
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-mg78spto\numpy_39986efc105c46e19941805f6cc5843d\numpy\distutils\system_info.py:1914: UserWarning:
          Optimized (vendor) Blas libraries are not found.
          Falls back to netlib Blas library which has worse performance.
          A better performance should be easily gained by switching
          Blas library.
        if self._calc_info(blas):
      blas_info:
        libraries blas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-mg78spto\numpy_39986efc105c46e19941805f6cc5843d\numpy\distutils\system_info.py:1914: UserWarning:
          Blas (http://www.netlib.org/blas/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [blas]) or by setting
          the BLAS environment variable.
        if self._calc_info(blas):
      blas_src_info:
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-mg78spto\numpy_39986efc105c46e19941805f6cc5843d\numpy\distutils\system_info.py:1914: UserWarning:
          Blas (http://www.netlib.org/blas/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [blas_src]) or by setting
          the BLAS_SRC environment variable.
        if self._calc_info(blas):
        NOT AVAILABLE
    
      non-existing path in 'numpy\\distutils': 'site.cfg'
      lapack_opt_info:
      lapack_mkl_info:
        libraries mkl_rt not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      openblas_lapack_info:
        libraries openblas not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      openblas_clapack_info:
        libraries openblas,lapack not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      flame_info:
        libraries flame not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries tatlas,tatlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries tatlas,tatlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries tatlas,tatlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
        NOT AVAILABLE
    
      atlas_3_10_info:
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries satlas,satlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries satlas,satlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries satlas,satlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_3_10_info'>
        NOT AVAILABLE
    
      atlas_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries ptf77blas,ptcblas,atlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_threads_info'>
        NOT AVAILABLE
    
      atlas_info:
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries f77blas,cblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib
        libraries lapack_atlas not found in C:\
        libraries f77blas,cblas,atlas not found in C:\
        libraries lapack_atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
        libraries f77blas,cblas,atlas not found in C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\libs
      <class 'numpy.distutils.system_info.atlas_info'>
        NOT AVAILABLE
    
      lapack_info:
        libraries lapack not found in ['C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\lib', 'C:\\', 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\\libs']
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-mg78spto\numpy_39986efc105c46e19941805f6cc5843d\numpy\distutils\system_info.py:1748: UserWarning:
          Lapack (http://www.netlib.org/lapack/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [lapack]) or by setting
          the LAPACK environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
      lapack_src_info:
        NOT AVAILABLE
    
      C:\Users\admin\AppData\Local\Temp\pip-install-mg78spto\numpy_39986efc105c46e19941805f6cc5843d\numpy\distutils\system_info.py:1748: UserWarning:
          Lapack (http://www.netlib.org/lapack/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [lapack_src]) or by setting
          the LAPACK_SRC environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
        NOT AVAILABLE
    
      numpy_linalg_lapack_lite:
        FOUND:
          language = c
          define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
    
      C:\Users\admin\AppData\Local\Temp\pip-build-env-p7b62szc\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
        warnings.warn(msg)
      running dist_info
      running build_src
      build_src
      building py_modules sources
      creating build
      creating build\src.win-amd64-3.10
      creating build\src.win-amd64-3.10\numpy
      creating build\src.win-amd64-3.10\numpy\distutils
      building library "npymath" sources
      error: _ **Microsoft Visual C++ 14.0 is required**_. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
      [end of output]
    

    note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

    × Encountered error while generating package metadata. ╰─> See above for output.

    note: This is an issue with the package mentioned above, not pip. hint: See above for details. Traceback (most recent call last): File "D:\Desktop\genshin_auto_fish-master\requirements.py", line 74, in main() File "D:\Desktop\genshin_auto_fish-master\requirements.py", line 68, in main pip_install(args.proxy, line.split()) File "D:\Desktop\genshin_auto_fish-master\requirements.py", line 13, in pip_install subprocess.run( File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['C:\Users\admin\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe', '-m', 'pip', 'install', 'numpy==1.19.5']' returned non-zero exit status 1.

    opened by mmyddd 0
  • 训练模型 TypeError: 'numpy.float64' object cannot be interpreted as an integer

    训练模型 TypeError: 'numpy.float64' object cannot be interpreted as an integer

    2022-11-26 07:10:58 | INFO | yolox.evaluators.coco_evaluator:171 - Evaluate in main process... 2022-11-26 07:10:58 | INFO | yolox.evaluators.coco_evaluator:204 - Loading and preparing results... 2022-11-26 07:10:59 | INFO | yolox.evaluators.coco_evaluator:204 - DONE (t=0.06s) 2022-11-26 07:10:59 | INFO | pycocotools.coco:362 - creating index... 2022-11-26 07:10:59 | INFO | pycocotools.coco:362 - index created! 2022-11-26 07:10:59 | INFO | yolox.core.trainer:183 - Training of experiment is done and the best AP is 0.00 2022-11-26 07:10:59 | ERROR | yolox.core.launch:98 - An error has been caught in function 'launch', process 'MainProcess' (12568), thread 'MainThread' (17028): Traceback (most recent call last):

    File "yolox_tools\train.py", line 125, in launch( └ <function launch at 0x0000022B998C29D0>

    File "c:\users\username\genshin_auto_fish\yolox\core\launch.py", line 98, in launch main_func(*args) │ └ (╒══════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════... └ <function main at 0x0000022B9B97C0D0>

    File "yolox_tools\train.py", line 110, in main trainer.train() │ └ <function Trainer.train at 0x0000022B983CC940> └ <yolox.core.trainer.Trainer object at 0x0000022B9B9708B0>

    File "c:\users\username\genshin_auto_fish\yolox\core\trainer.py", line 72, in train self.train_in_epoch() │ └ <function Trainer.train_in_epoch at 0x0000022B9B932280> └ <yolox.core.trainer.Trainer object at 0x0000022B9B9708B0>

    File "c:\users\username\genshin_auto_fish\yolox\core\trainer.py", line 82, in train_in_epoch self.after_epoch() │ └ <function Trainer.after_epoch at 0x0000022B9B941E50> └ <yolox.core.trainer.Trainer object at 0x0000022B9B9708B0>

    File "c:\users\username\genshin_auto_fish\yolox\core\trainer.py", line 207, in after_epoch self.evaluate_and_save_model() │ └ <function Trainer.evaluate_and_save_model at 0x0000022B9B945160> └ <yolox.core.trainer.Trainer object at 0x0000022B9B9708B0>

    File "c:\users\username\genshin_auto_fish\yolox\core\trainer.py", line 302, in evaluate_and_save_model ap50_95, ap50, summary = self.exp.eval( │ │ └ <function Exp.eval at 0x0000022B9B97C8B0> │ └ ╒══════════════════╤═════════════════════════════════════════════════════════════════════════════════════════════════════════... └ <yolox.core.trainer.Trainer object at 0x0000022B9B9708B0>

    File "c:\users\username\genshin_auto_fish\yolox\exp\yolox_base.py", line 288, in eval return evaluator.evaluate(model, is_distributed, half) │ │ │ │ └ False │ │ │ └ False │ │ └ YOLOX( │ │ (backbone): YOLOPAFPN( │ │ (backbone): CSPDarknet( │ │ (stem): Focus( │ │ (conv): BaseConv( │ │ (conv): ... │ └ <function COCOEvaluator.evaluate at 0x0000022B9B9328B0> └ <yolox.evaluators.coco_evaluator.COCOEvaluator object at 0x0000022BA34CC1C0>

    File "c:\users\username\genshin_auto_fish\yolox\evaluators\coco_evaluator.py", line 131, in evaluate eval_results = self.evaluate_prediction(data_list, statistics) │ │ │ └ tensor([ 0.8768, 0.1399, 16.0000], device='cuda:0') │ │ └ [{'image_id': 0, 'category_id': 3, 'bbox': [412.74456787109375, 321.55999755859375, 289.51806640625, 108.240966796875], 'scor... │ └ <function COCOEvaluator.evaluate_prediction at 0x0000022B9B9329D0> └ <yolox.evaluators.coco_evaluator.COCOEvaluator object at 0x0000022BA34CC1C0>

    File "c:\users\username\genshin_auto_fish\yolox\evaluators\coco_evaluator.py", line 212, in evaluate_prediction cocoEval = COCOeval(cocoGt, cocoDt, annType[1]) │ │ │ └ ['segm', 'bbox', 'keypoints'] │ │ └ <pycocotools.coco.COCO object at 0x0000022BA1DC33A0> │ └ <pycocotools.coco.COCO object at 0x0000022B9BD05C10> └ <class 'yolox.layers.fast_coco_eval_api.COCOeval_opt'>

    File "C:\Users\username\anaconda3\envs\ysfish\lib\site-packages\pycocotools\cocoeval.py", line 76, in init self.params = Params(iouType=iouType) # parameters │ │ │ └ 'bbox' │ │ └ <class 'pycocotools.cocoeval.Params'> │ └ {} └ <yolox.layers.fast_coco_eval_api.COCOeval_opt object at 0x0000022B9BCAF460>

    File "C:\Users\username\anaconda3\envs\ysfish\lib\site-packages\pycocotools\cocoeval.py", line 527, in init self.setDetParams() │ └ <function Params.setDetParams at 0x0000022BB5BC7430> └ <pycocotools.cocoeval.Params object at 0x0000022BA3A7CC40>

    File "C:\Users\username\anaconda3\envs\ysfish\lib\site-packages\pycocotools\cocoeval.py", line 507, in setDetParams self.iouThrs = np.linspace(.5, 0.95, np.round((0.95 - .5) / .05) + 1, endpoint=True) │ │ │ │ └ <function round_ at 0x0000022BEFE8A310> │ │ │ └ <module 'numpy' from 'C:\Users\username\anaconda3\envs\ysfish\lib\site-packages\numpy\init.py'> │ │ └ <function linspace at 0x0000022BF0050790> │ └ <module 'numpy' from 'C:\Users\username\anaconda3\envs\ysfish\lib\site-packages\numpy\init.py'> └ <pycocotools.cocoeval.Params object at 0x0000022BA3A7CC40>

    File "<array_function internals>", line 180, in linspace

    File "C:\Users\username\anaconda3\envs\ysfish\lib\site-packages\numpy\core\function_base.py", line 120, in linspace num = operator.index(num) │ │ └ 10.0 │ └ └ <module 'operator' from 'C:\Users\username\anaconda3\envs\ysfish\lib\operator.py'>

    TypeError: 'numpy.float64' object cannot be interpreted as an integer

    opened by Schrodingers-Neko 0
  • 求助:在游戏中按R键脚本读取不到

    求助:在游戏中按R键脚本读取不到

    (ysfish) PS C:\Users\Grove Yo\genshin_auto_fish> python fishing.py image -f yolox/exp/yolox_tiny_fish.py -c weights/best_tiny3.pth --conf 0.25 --nms 0.45 --tsize 640 --device cpu 2022-10-11 16:26:49.876 | INFO | main:main:91 - Args: Namespace(demo='image', experiment_name='yolox_tiny_fish', name=None, path='./assets/dog.jpg', exp_file='yolox/exp/yolox_tiny_fish.py', ckpt='weights/best_tiny3.pth', device='cpu', conf=0.25, nms=0.45, tsize=640, fp16=False, legacy=False, fuse=False, trt=False, n_states=3, n_actions=2, step_tick=12, model_dir='./weights/fish_genshin_net.pth') 2022-10-11 16:26:50.090 | INFO | main:main:101 - Model Summary: Params: 5.03M, Gflops: 15.24 2022-10-11 16:26:50.095 | INFO | main:main:114 - loading checkpoint 2022-10-11 16:26:50.215 | INFO | main:main:118 - loaded checkpoint done. INIT OK Waiting for "r" to perform fishing

    opened by junguoqianshan 1
  • 无法使用

    无法使用

    error: subprocess-exited-with-error

    × git clone --filter=blob:none --quiet https://github.com/philferriere/cocoapi.git 'C:\Users*****\AppData\Local\Temp\pip-req-build-nd5px1tw' did not run successfully. │ exit code: 128 ╰─> See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

    opened by kKXAXG7Ryx1 0
Image-Scaling Attacks and Defenses

Image-Scaling Attacks & Defenses This repository belongs to our publication: Erwin Quiring, David Klein, Daniel Arp, Martin Johns and Konrad Rieck. Ad

Erwin Quiring 163 Nov 21, 2022
Code for IntraQ, PyTorch implementation of our paper under review

IntraQ: Learning Synthetic Images with Intra-Class Heterogeneity for Zero-Shot Network Quantization paper Requirements Python = 3.7.10 Pytorch == 1.7

1 Nov 19, 2021
In this project, we develop a face recognize platform based on MTCNN object-detection netcwork and FaceNet self-supervised network.

模式识别大作业——人脸检测与识别平台 本项目是一个简易的人脸检测识别平台,提供了人脸信息录入和人脸识别的功能。前端采用 html+css+js,后端采用 pytorch,

Xuhua Huang 5 Aug 02, 2022
UniLM AI - Large-scale Self-supervised Pre-training across Tasks, Languages, and Modalities

Pre-trained (foundation) models across tasks (understanding, generation and translation), languages (100+ languages), and modalities (language, image, audio, vision + language, audio + language, etc.

Microsoft 7.6k Jan 01, 2023
git《USD-Seg:Learning Universal Shape Dictionary for Realtime Instance Segmentation》(2020) GitHub: [fig2]

USD-Seg This project is an implement of paper USD-Seg:Learning Universal Shape Dictionary for Realtime Instance Segmentation, based on FCOS detector f

Ruolin Ye 80 Nov 28, 2022
EMNLP 2021 Findings' paper, SCICAP: Generating Captions for Scientific Figures

SCICAP: Scientific Figures Dataset This is the Github repo of the EMNLP 2021 Findings' paper, SCICAP: Generating Captions for Scientific Figures (Hsu

Edward 26 Nov 21, 2022
Development Kit for the SoccerNet Challenge

SoccerNetv2-DevKit Welcome to the SoccerNet-V2 Development Kit for the SoccerNet Benchmark and Challenge. This kit is meant as a help to get started w

Silvio Giancola 117 Dec 30, 2022
[NeurIPS 2021] "Delayed Propagation Transformer: A Universal Computation Engine towards Practical Control in Cyber-Physical Systems"

Delayed Propagation Transformer: A Universal Computation Engine towards Practical Control in Cyber-Physical Systems Introduction Multi-agent control i

VITA 6 May 05, 2022
This is an official implementation for "SimMIM: A Simple Framework for Masked Image Modeling".

SimMIM By Zhenda Xie*, Zheng Zhang*, Yue Cao*, Yutong Lin, Jianmin Bao, Zhuliang Yao, Qi Dai and Han Hu*. This repo is the official implementation of

Microsoft 674 Dec 26, 2022
Code of the paper "Multi-Task Meta-Learning Modification with Stochastic Approximation".

Multi-Task Meta-Learning Modification with Stochastic Approximation This repository contains the code for the paper "Multi-Task Meta-Learning Modifica

Andrew 3 Jan 05, 2022
Interpretation of T cell states using reference single-cell atlases

Interpretation of T cell states using reference single-cell atlases ProjecTILs is a computational method to project scRNA-seq data into reference sing

Cancer Systems Immunology Lab 139 Jan 03, 2023
A gesture recognition system powered by OpenPose, k-nearest neighbours, and local outlier factor.

OpenHands OpenHands is a gesture recognition system powered by OpenPose, k-nearest neighbours, and local outlier factor. Currently the system can iden

Paul Treanor 12 Jan 10, 2022
A hue shift helper for OBS

obs-hue-shift A hue shift helper for OBS This is a repo based on the really nice script Hegemege made. The original script can be found https://gist.g

Alexis Tyler 1 Jan 10, 2022
Survival analysis in Python

What is survival analysis and why should I learn it? Survival analysis was originally developed and applied heavily by the actuarial and medical commu

Cameron Davidson-Pilon 2k Jan 08, 2023
NeoPlay is the project dedicated to ESport events.

NeoPlay is the project dedicated to ESport events. On this platform users can participate in tournaments with prize pools as well as create their own tournaments.

3 Dec 18, 2021
Efficient Conformer: Progressive Downsampling and Grouped Attention for Automatic Speech Recognition

Efficient Conformer: Progressive Downsampling and Grouped Attention for Automatic Speech Recognition Official implementation of the Efficient Conforme

Maxime Burchi 145 Dec 30, 2022
Orthogonal Jacobian Regularization for Unsupervised Disentanglement in Image Generation (ICCV 2021)

Orthogonal Jacobian Regularization for Unsupervised Disentanglement in Image Generation Home | PyTorch BigGAN Discovery | TensorFlow ProGAN Regulariza

Yuxiang Wei 54 Dec 30, 2022
Repository of Vision Transformer with Deformable Attention

Vision Transformer with Deformable Attention This repository contains the code for the paper Vision Transformer with Deformable Attention [arXiv]. Int

410 Jan 03, 2023
Python periodic table module

elemenpy Hello! elements.py is a small Python periodic table module that is used for calling certain information about an element. Installation Instal

Eric Cheng 2 Dec 27, 2021
(JMLR'19) A Python Toolbox for Scalable Outlier Detection (Anomaly Detection)

Python Outlier Detection (PyOD) Deployment & Documentation & Stats Build Status & Coverage & Maintainability & License PyOD is a comprehensive and sca

Yue Zhao 6.6k Jan 03, 2023