###这错误就尼玛离谱 在python安装包的时候出现,吐了 ###解决方法 find / -name lsb_release 找到这个命令的目录 rm -rf /usr/bin/lsb_release 目录按找到的为准 解决,记录一下 ...
分类:
其他好文 时间:
2020-06-09 20:50:40
阅读次数:
86
#coding=utf-8 from selenium import webdriver import time def sleep(w=1): time.sleep(w) return 0 #初始化浏览器信息 driver = webdriver.Chrome() driver.get("http ...
分类:
其他好文 时间:
2020-06-09 20:37:19
阅读次数:
624
刚开始接触electron ,踩到了electron-prebuilt的坑,简单记录下。 1、直接安装 npm install sqlite3 electron . 报错:'cannot find node module sqlite3' 2、重新编译sqlite3 2.1 npm install ...
分类:
数据库 时间:
2020-06-09 18:15:26
阅读次数:
120
报错模型未注册。 示例 const Goods = require('../../model/admin/Goods');//先引入你需要的关联模型 const res = await ctx.mongoose.find().populate({ path: 'Goods ', model: Goo ...
分类:
其他好文 时间:
2020-06-09 18:13:48
阅读次数:
65
public class Item { public static void main(String args[]) { int array[] = {1, 6, 10, -4,8,3, -5}; System.out.println(findMax(array)); } public static ...
分类:
编程语言 时间:
2020-06-09 14:18:26
阅读次数:
134
package com.example.datebasetest; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLite ...
分类:
移动开发 时间:
2020-06-09 11:19:58
阅读次数:
71
今天在使用find命令查找文件时报错: 查找命令:find /var/www/html/typecho/admin/ -name *.php -type f -print | xargs file 报错如下: find: paths must precede expression: category ...
分类:
其他好文 时间:
2020-06-09 09:59:16
阅读次数:
251
题目描述 输入两个链表,找出它们的第一个公共结点。(注意因为传入数据是链表,所以错误测试数据的提示是用其他方式显示的,保证传入数据是正确的) 题目链接: https://www.nowcoder.com/practice/6ab1d9a29e88450685099d45c9e31e46?tpId=1 ...
分类:
其他好文 时间:
2020-06-09 09:48:46
阅读次数:
62
python 环境:Python 2.7.16 需要安装:pandas/xlrd (pip2 install pandas/ pip2 install xlrd) import pandas as pd def find_row(num_value,file_name): """ Returns t ...
分类:
编程语言 时间:
2020-06-09 09:46:02
阅读次数:
403
1、BasePage,所有Page类的父类,主要分装find元素查找方法,配合显示等待,不用每个元素查找都使用一次显示等待,driver初始化 #coding=utf-8 import os from datetime import datetime import allure from appiu ...
分类:
移动开发 时间:
2020-06-09 00:03:25
阅读次数:
163