随笔分类 -  Ubuntu

Ubuntu pkg_resources.DistributionNotFound: The 'Scrapy==1.0.3' distribution was not found and is required by the application
摘要:在Ubuntu16.0.4上安装scrapy,参考:Ubuntu16.04安装Scrapy命令 都安装成功后,import scrapy也都没出错,但是在终端输入:scrapy 命令时出现错误: File "/usr/local/python2.7/lib/python2.7/site-packag 阅读全文

posted @ 2017-12-11 14:17 一叶舟鸣 阅读(3769) 评论(0) 推荐(0) 编辑

Ubuntu crontab 定时 python 详细
摘要:Ubuntu系统,定时执行python脚本。 目的:每分钟执行一次timer_test.py timer_test.py 路径 /home/li/d/pythonwork/test/timer_test.py 开始设置定时 1 在桌面上打开终端 2 输入:sudo crontab -e 然后输入: 阅读全文

posted @ 2017-11-07 16:13 一叶舟鸣 阅读(5453) 评论(0) 推荐(0) 编辑

Ubuntu urllib2.URLError:<urlopen error unknown url type:https>
摘要:描述: python中urllib2 下载网页时,出现错误urllib2.URLError:<urlopen error unknown url type:https> 解决方法: python没有SSL模块,需重新编译安装python ①在终端中执行: sudo apt-get install o 阅读全文

posted @ 2017-10-30 19:21 一叶舟鸣 阅读(5931) 评论(0) 推荐(0) 编辑

Ubuntu python Compression requires the (missing) zlib module
摘要:描述: 在Ubuntu中安装setuptools时出现 Compression requires the (missing) zlib module 解决方法步骤: ①Ubuntu下安装zlib: 下载zlib 点击, 下载链接中的zlib_1.2.11.dfsg.orig.tar.xz 下载后解压 阅读全文

posted @ 2017-10-28 17:16 一叶舟鸣 阅读(1323) 评论(3) 推荐(1) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示