今天换机以后,原来的代码不能运行了,报错。 好像是缺少包 问题描述: 报错:ImportError: No module named MySQLdb 对于不同的系统和程序有如下的解决方法: easy_install mysql-python (mix os) pip install mysql-py ...
分类:
数据库 时间:
2020-07-15 23:41:22
阅读次数:
79
Lua 的模块是由变量、函数等已知元素组成的 table -- 文件名为 module.lua-- 定义一个名为 module 的模块module = {} -- 定义一个常量module.constant = "这是一个常量" -- 定义一个函数function module.func1() io ...
分类:
其他好文 时间:
2020-07-15 15:31:12
阅读次数:
57
微擎获取当前应用的名称 global $_W; $module_name = $_W['current_module']['name']; var_dump($module_name); ...
分类:
其他好文 时间:
2020-07-15 15:10:16
阅读次数:
76
[OHIF-Viewers]医疗数字阅片-医学影像-Module: Panel-自定义面板-上 https://docs.ohif.org/extensions/modules/panel.html Module: Panel An extension can register a Panel Mo ...
分类:
其他好文 时间:
2020-07-15 15:02:39
阅读次数:
62
error1 当浏览器访问图片服务器时,nginx的error.log报下面的错 [2020-07-14 22:20:30] ERROR - file: /home/ubuntu/software/fastdfs-nginx-module-1.22/src/common.c, line: 1101, ...
分类:
其他好文 时间:
2020-07-15 01:31:22
阅读次数:
72
//添加自定义文件整理文件夹的方法,没有之一在build.gradle(Module: app)里加入布局需要放入的路径代码》》》》》》 sourceSets { main { res.srcDirs = [ 'src/main/res/你需要放置布局的文件夹名', 'src/main/res/la ...
分类:
其他好文 时间:
2020-07-15 01:29:58
阅读次数:
89
在使用YOLO v5进行自己数据集的训练的时候(python3 train.py),报了如下的错误: Traceback (most recent call last): File "train.py", line 402, in <module> tb_writer = SummaryWriter ...
nginx的常用模块 ngx_http_index_module Syntax: index file ...; Default: index index.html; Context: http, server, location location / { index index.html; } n ...
分类:
其他好文 时间:
2020-07-14 19:57:20
阅读次数:
64
https://mp.weixin.qq.com/s/MUK2K1WrhcyoEsOVwpgrlw 简单介绍TestHarness的实现。 1. 测试模块 TestHarness是一个测试模块,直接继承自Module类: 2. io 测试模块向外输出一个测试是否成功的信号: 3. 实例化Exampl ...
分类:
其他好文 时间:
2020-07-14 13:17:07
阅读次数:
76
模块化引用js <script type="module" src="index.js"> https://ke.qq.com/webcourse/index.html#cid=2588158&term_id=102693719&taid=9173264167828990&vid=528589080 ...
分类:
其他好文 时间:
2020-07-14 00:33:25
阅读次数:
71