python
一个会玩SF的男人
这个作者很懒,什么都没留下…
展开
-
在 ubuntu 中安装 python3.5 tornado pymysql
一、在 ubuntu 中安装 python3.5 1、首先,在系统中是自带python2.7的。不要卸载,因为一些系统的东西是需要这个的。python2.7和python3.5是可以共存的。 命令如下(已经在阿里云的ubuntu中测试):apt-get install python-software-properties apt-get install software-properties-原创 2016-09-18 22:50:28 · 4235 阅读 · 0 评论 -
Python中操作mongo数据库
一、Ubuntu中安装Mongodb 1. apt-get update 2. apt-get install mongodb 3. vim /etc/mongodb.conf 将如下配置修改: #bind_ip = 127.0.0.1 //注释此行原创 2016-12-12 14:08:27 · 693 阅读 · 0 评论 -
爬取网页中的文章写成本地txt文件
网页看小说不是很方便,所以决定爬下来做成txt文件放在手机中看。原创 2016-12-09 23:08:26 · 1829 阅读 · 0 评论 -
pip 安装包时报错 /usr/bin/pip: No such file or directory
在ubuntu中使用pip报一下错误: /usr/bin/pip: No such file or directory pip can no longer be found:可以采用以下方式解决which pip /usr/local/bin/pippip -su: /usr/bin/pip: No such file or directorytype pip pip is hashe原创 2017-03-20 22:36:45 · 25762 阅读 · 11 评论