09 2018 档案

UBUNTU中使用pip安装,提示cannt import main问题
摘要:在pip==8.1.1版本中,使用pip install Django==1.8.16时,提示 Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import main Impor 阅读全文

posted @ 2018-09-29 15:24 NothingLZ 阅读(213) 评论(0) 推荐(0)

ubuntu安装驱动问题
摘要:网友答案:https://blog.csdn.net/jasonzhoujx/article/details/80469139 阅读全文

posted @ 2018-09-29 10:22 NothingLZ 阅读(178) 评论(0) 推荐(0)

ubuntu16.04下怎么关闭x server
摘要:按住ctrl+alt+f1,进入命令行。输入sudo /etc/init.d/lightdm stopsudo /etc/init.d/lightdm status重启xserver?输入sudo /etc/init.d/lightdm restart 阅读全文

posted @ 2018-09-29 09:18 NothingLZ 阅读(13948) 评论(0) 推荐(0)

Ubuntu 下解压tar.xz方法
摘要:参考地址:https://www.cnblogs.com/baby123/p/6611169.html 阅读全文

posted @ 2018-09-11 09:10 NothingLZ 阅读(837) 评论(0) 推荐(0)

xgboost实例代码
摘要:1 # -*- coding: utf-8 -*- 2 import xgboost as xgb 3 import csv 4 import jieba 5 jieba.load_userdict('wordDict.txt') 6 import numpy as np 7 from sklearn.feature_extraction.text import CountVect... 阅读全文

posted @ 2018-09-08 21:16 NothingLZ 阅读(1014) 评论(0) 推荐(0)

gcc编译C语言程序
只有注册用户登录后才能阅读该文。

posted @ 2018-09-05 17:40 NothingLZ 阅读(0) 评论(0) 推荐(0)

libsvm数据格式
摘要:train.txt 1 101:1.2 102:0.03 0 1:2.1 10001:300 10002:400 0 0:1.3 1:0.3 1 0:0.01 1:0.3 0 0:0.2 1:0.3 train.txt 1 101:1.2 102:0.03 0 1:2.1 10001:300 100 阅读全文

posted @ 2018-09-05 16:29 NothingLZ 阅读(130) 评论(0) 推荐(0)

Python 解决: from pip import main ImportError: cannot import name 'main'
摘要:此次报错是因为 pip 升级出的问题: from pip import mainif __name__ == '__main__': sys.exit(main()) 改为: from pip import __main__if __name__ == '__main__': sys.exit(__ 阅读全文

posted @ 2018-09-04 12:06 NothingLZ 阅读(430) 评论(0) 推荐(0)

导航