- 博客(17)
- 资源 (21)
- 收藏
- 关注
原创 AttributeError: module 'matplotlib.pyplot' has no attribute 'xlable'解决办法
xlable改成xlabel难道数据改了???
2018-10-29 15:10:01 24705 6
原创 __init__.py 彻底解决 import Unresolved import Undefined import 自己模块的问题
__init__.py文件妙用 有此神器,妈妈再也不用担心你的import了
2018-10-25 08:59:55 4615 2
原创 pymongo.errors.OperationFailure: not authorized on walden to execute command { find: "sheet_lines",
添加mongod --dbpath "D:\zz\mongodb-data\data\db" --logpath "D:\zz\mongodb-data\logs\MongoDB.log" --directoryperdb --auth --serviceName MongoDB --installmongod --dbpath "D:\zz\mongodb-data\data\db" -...
2018-10-19 10:40:43 1342
转载 2018-10-18T16:22:46.566+0800 E QUERY [js] TypeError: db.addUser is not a function :
新版的MongoDB已经不支持addUser方法了。 改成createUser了。 db.createUser({user:"zz",pwd:"zz",roles:[{role:"root"}])创建一个数据库新用户用db.createUser()方法,如果用户存在则返回一个用户重复错误。db.createUser(user, writeConcern) user这个文档创建...
2018-10-18 18:02:32 4006
原创 mongodb 不能启动服务 发生服务特定错误: 100. 发生服务特定错误: 5
1、修改前期的服务在regedit进入注册表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ 路径下 寻找mongodb修改imgpath 即可2、特定服务5cmd没有管理员权限,右键管理员权限执行即可3、特定服务100删除data\db下面的 mongod.lock storage.bson在用net sta...
2018-10-18 16:02:52 983
原创 Could not find a version that satisfies the requirement pymongo (from versions: ) No matching distri
pip install pymongo 安装不成功解决方法:pip install pymongo -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 秒成功
2018-10-18 15:04:15 2807 7
原创 mongod exception in initAndListen: NonExistentPath: Data directory C:\data\db\ not found., terminati
mongod 没找到路径mongod --dbpath D:\zz\mongodb-data\db更改默认数据库路径
2018-10-18 14:24:16 8011
原创 mongo2018-10-18T14:13:16.837+0800 E QUERY [js] Error: couldn't connect to server 127.0.0.1:27017
mongo命令失败 负责运行数据库需要先执行mongod 负责开机
2018-10-18 14:16:58 6893
原创 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UX
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UX在stackoverflow 上找到了类似的错误,原来是图片路径写的 有问题错误的:'C:\Users\zz\Desktop\test\'解决方法'C:\\Users\\zz\\De...
2018-10-17 18:43:02 1677
原创 TypeError: object of type 'Response' has no len()
soup = BeautifulSoup(wb_date,'html.parser')wb_date 改成 wb_date.text 或者wb_data.content问题解决
2018-10-13 15:52:48 856
原创 NotImplementedError: Only the following pseudo-classes are implemented: nth-of-type.
原因:解释版本不同解决方法:nth-child(2)更改为 nth-of-type(2)问题解决
2018-10-13 12:42:06 2478 1
原创 bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: Ixml. Do you need
原因:版本更新解决方法:Ixml 更改为 html.parser 问题解决
2018-10-13 12:33:36 435 1
原创 python 爬虫 第一周:学会爬取网页信息
1、安装库确保python和系统的版本一致,32 or 64 ,pip --version 查看pip版本Soup = BeautifulSoup(html,'lxml')汤 汤料 食谱安装lxml 库 pip install lxml Successfully instal...
2018-10-13 11:25:20 934
原创 django应用bootstrap
1、下载bootsrtap http://v3.bootcss.com/getting-started/#download , 放在project下新创建的static目录下。 下载dashboard.css放在static/bootstrap/css/目录下。下载jquery放在static/bootstrap/js/目录下。2、下载bootstrap模版样式 http://v...
2018-10-13 09:28:05 300
原创 Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserve
用winrar打开crx,然后解压缩,把_metadata的文件夹改名称为metadata,加载即可
2018-10-10 16:32:17 8490 4
原创 python课程学习===小象学院
微信加入,每天半小时,学习一下试试看只有每天能够答题通过才能算是打卡成功,每天最多解锁两课时。。。。我擦,拭目以待20181009 1-2课时 没有什么实际意义,有一道题异议了,IPO,对于计算机的输出,硬盘也作为output的一种20181010 关于python起源于荷兰。。。还有Anaconda 集成的一个大环境,看起来还不错20181011 pycharm开发工具 快捷键...
2018-10-09 08:56:50 2792
原创 django开发bug
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 172: invalid start byteutf-8编码,将eclipse项目编码设置UTF-8 即可,搞定中文识别问题ValueError: The view blog.tests.testdb didn't return an HttpRespo...
2018-10-08 08:53:11 265
jupyter和charts启动报错替换7个charts文件2020-02-10.rar
2020-02-10
spring-framework-3.0.5.RELEASE
2012-08-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人