使用scrapy的下载模块需要PIL(python图像处理模块)的支持,使用pip安装即可 ...
分类:
其他好文 时间:
2019-11-19 14:06:03
阅读次数:
63
XIX Open Cup named after E.V. Pankratiev Stage 15, Grand Prix of China 题意: 有三只怪兽,两只小怪(hp<=100),一个boss(hp<=1e6) 每回合开始 ,勇士先收到所有活着的怪物的攻击力总和的伤害,然后对一只怪兽造成回 ...
分类:
其他好文 时间:
2019-11-18 10:01:18
阅读次数:
71
查询端口状况命令: netstat -an| grep 端口号 查询服务状态(服务是否开启)命令:systemctl status 服务名 开启服务命令:systemctl start 服务名 1. ssh服务: 端口 :22 配置文件路径:/etc/ssh/ssh.conf 2. ftp服务 端口 ...
分类:
系统相关 时间:
2019-11-16 18:07:21
阅读次数:
156
环境: python3.5.3+pycharm 问题描述: ImportError: No module named tensorflow 解决方法: tensorflow安装不正确,需卸载重装 pip uninstall tensorflow 最好把附带的一些库也卸了,tensorboard、te ...
分类:
其他好文 时间:
2019-11-16 00:16:44
阅读次数:
96
防盗链演示1、安装配置DNS域名解析服务[root@localhost~]#yuminstallbind-y[root@localhost~]#vim/etc/named.confoptions{listen-onport53{any;};...allow-query{any;};[root@localhost~]#vim/etc/named.rfc1912.zoneszone"accp.com"
分类:
其他好文 时间:
2019-11-16 00:03:24
阅读次数:
106
原文https://blog.csdn.net/qq_27921205/article/details/102976824 主要是tensorflow和keras的版本不对应的问题import keras的时候,提示: “No module named ''tensorflow.python.eag ...
分类:
编程语言 时间:
2019-11-15 14:12:24
阅读次数:
280
python版本:python3.6,系统:win7 1.pip install crypto; 会安装很多包:chardet, certifi, urllib3, idna, requests, pyyaml, Naked, shellescape, crypto 2.安装成功后,提示没有该模块, ...
分类:
其他好文 时间:
2019-11-14 18:16:40
阅读次数:
89
1、python3中出现ModuleNotFoundError: No module named 'pkg_resources' 2、ubuntu 升级了 python3.7 后, pip3 运行报错,且无法安装, python -m pip install -U pip 3、没有名为pkg_res ...
分类:
编程语言 时间:
2019-11-14 09:56:33
阅读次数:
80
Debian系统 查看路由表: Here is a config file named /etc/network/interfaces: ip command to set a default router to 192.168.1.254 route command to set a defaul ...
分类:
其他好文 时间:
2019-11-14 09:48:57
阅读次数:
98
linux No module named yum错误的解决办法 肯定是yum的版本与当前python的版本不一致造成的 <pre>所以修改yum的配置,修改文件: vim /usr/bin/yum 修改头#!/usr/bin/python => #!/usr/bin/python2.6</pre> ...
分类:
系统相关 时间:
2019-11-13 22:03:00
阅读次数:
106