摘要: 1 docker 要求 CentOS 系统的内核版本高于 3.10 ,查看本页面的前提条件来验证你的CentOS 版本是否支持 Docker 2、使用 root 权限登录 Centos。确保 yum 包更新到最新。 sudo yum update 3、卸载旧版本(如果安装过旧版本的话) sudo y 阅读全文
posted @ 2019-05-28 19:41 小酥肉是我 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 今天想要用scrapy爬取数据,想到原来刷过机没有这个库了就重新安装了一遍 安装scrapy 需要的东西 https://pan.baidu.com/s/1kuLvGQBG8tMTCY3WDLuUJw 提取码:dfm1 直接pip install scrapy 如图报错,说他需要很多依赖的包 首先安 阅读全文
posted @ 2019-05-24 08:51 小酥肉是我 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 使用python中的内置模块 阅读全文
posted @ 2019-05-15 16:56 小酥肉是我 阅读(2617) 评论(0) 推荐(0) 编辑
摘要: mysql一直连接不上我的数据库,输入密码也进不去mysql. 报连接不上服务的错误。 Can 't connect to local MySQL server through socket '/tmp/mysql.sock '(2) 我就查看了一下mysql的日志 cat /var/log/mys 阅读全文
posted @ 2019-05-15 10:58 小酥肉是我 阅读(4231) 评论(0) 推荐(1) 编辑
摘要: //打开要创建的项目路径目录,创建项目 vue init webpack-simple <项目名> cd <项目名> //安装路由 cnpm install vue-router —save //安装jquery cnpm install jquery --save //安装依赖 cnpm inst 阅读全文
posted @ 2019-05-12 20:04 小酥肉是我 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 百度盘链接 https://pan.baidu.com/s/1Nu8fiUrdffsNd6usTsUESg 密码 mps4 效果: 阅读全文
posted @ 2019-05-07 20:07 小酥肉是我 阅读(262) 评论(0) 推荐(0) 编辑
摘要: import os import cv2 ##加载OpenCV模块 def video2frames(pathIn='', pathOut='', imgname='', only_output_video_info = False, extrac... 阅读全文
posted @ 2019-05-05 21:09 小酥肉是我 阅读(501) 评论(0) 推荐(0) 编辑
摘要: vue中的css 样式都在index.html中 看这里是否有导入css 阅读全文
posted @ 2019-05-04 07:52 小酥肉是我 阅读(1380) 评论(0) 推荐(0) 编辑
摘要: Django 报错,跨域请求出现问题。 在settings.py中添加 #设置可跨域范围 CORS_ALLOW_CREDENTIALS = True CORS_ORIGIN_ALLOW_ALL = True #定义跨域中间件 'corsheaders.middleware.CorsMiddlewar 阅读全文
posted @ 2019-05-03 22:46 小酥肉是我 阅读(72862) 评论(0) 推荐(2) 编辑
摘要: 在建立vue项目时报的错误 原因是缺少依赖,在此项目目录下下载依赖即可 cnpm install 发一次建立vue项目的完整顺序吧 //打开要创建的项目路径目录,创建项目 vue init webpack-simple <项目名> cd <项目名> //安装所需要的依赖 cnpm install / 阅读全文
posted @ 2019-05-03 18:58 小酥肉是我 阅读(5831) 评论(0) 推荐(0) 编辑