11 2021 档案
摘要:import time import cv2 class CaptView(object): def __init__(self, url, name, delay): self.url = url self.name = name self.capture = cv2.VideoCapture(u
阅读全文
摘要:python打包exe执行文件 1.pyinstaller 打包 这里以打包一个简单fastapi服务为例子 环境 python 3.6.7 pyInstaller 4.7 FastApi 0.70.0 unicorn 0.15.0 extra-hook/hoks-unicorn.py from P
阅读全文
摘要:# -*- coding: utf-8 -*- # @Time : 2021/11/22 15:55 # @Author : xujunkai # @File : config_set.py # @Software: PyCharm import psutil import platform imp
阅读全文
摘要:pynvml.NVMLError_LibraryNotFound: NVML Shared Library Not Found 报错和解决 找到报错文件位置 可以看到C:/Program Files/NVIDIA Corporation/NVSMI/必须有nvml.dll才行。 找到nvml.dll
阅读全文