- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 Unknown command: crawl
在执行 scrapy 时,报如下错误:Unknown command: crawl Use "scrapy" to see available commands解决方法:1、创建 scrapy 项目,并进入项目scrapy startproject tutorialcd tutorial2、在项目根目录下的 tutorial/spiders/ 下新建爬虫文件quot...
2020-04-03 14:34:04 685
原创 ModuleNotFoundError: No module named '_sqlite3'
导入 sqlite3 模块时,出现如下错误:ModuleNotFoundError: No module named '_sqlite3'解决方法:1、编译安装新版 sqlite3:https://bbs.mostop.cn/column/detail.html?detailid=152、编译安装 python3:1)打开网址查看步骤:https://bbs.mostop....
2020-04-03 14:32:18 783
原创 编译安装 sqlite3
打开网址:https://www.sqlite.org/download.html下载安装包:https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz编译安装 sqlite3:tar -zxvf sqlite-autoconf-3310100.tar.gzcd sqlite-autoconf-3310100./confi...
2020-04-03 14:30:54 495
原创 /bin/sh: make: command not found
执行 make 命令,出现如下问题:/bin/sh: make: command not found解决方法:yum -y install make
2020-04-03 14:29:55 6791 2
原创 python3 安装 scrapy 模块
首先,安装 Twisted 模块:https://blog.csdn.net/qq494686707/article/details/105219268然后:pip3 install -i https://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com scrapy...
2020-03-31 11:55:38 108
原创 tar (child): bzip2: Cannot exec: No such file or directory
解压文件出现如下错误:tar (child): bzip2: Cannot exec: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting now解决方...
2020-03-31 11:54:10 117
原创 python3 安装 Twisted 模块
打开网址:https://pypi.org/project/Twisted/#files下载安装包:https://files.pythonhosted.org/packages/0b/95/5fff90cd4093c79759d736e5f7c921c8eb7e5057a70d753cdb4e8e5895d7/Twisted-19.10.0.tar.bz2编译安装:tar -jxv...
2020-03-31 11:53:15 743
原创 ModuleNotFoundError: No module named '_ctypes'
pip3 安装模块时,报如下错误:ModuleNotFoundError: No module named '_ctypes'解决方法:yum -y install libffi-devel重新编译安装 python:https://blog.csdn.net/qq494686707/article/details/105219154...
2020-03-31 11:52:06 403
原创 编译安装 python3
安装前先安装新版 openssl,保证 pip 可以更新和安装模块:https://bbs.mostop.cn/column/detail.html?detailid=7打开网址:https://www.python.org/downloads/下载安装包:https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz编译安装:...
2020-03-31 11:49:27 261
原创 python pip3 出现 HTTPSConnectionPool(host='pypi.org', port=443)
python pip3 执行时,出现如下情况:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.Could not fetch URL https://pypi.org/simple/pip/: There was...
2020-03-31 11:47:20 1575
原创 编译安装最新版 openssl
打开网址:https://www.openssl.org/source/下载安装包:https://www.openssl.org/source/openssl-1.1.1d.tar.gz编译安装:tar -zxvf openssl-1.1.1d.tar.gzcd openssl-1.1.1d ./config --prefix=/usr/local/openssl/make...
2020-03-31 11:46:03 1379
原创 zipimport.ZipImportError: can't decompress data; zlib not available
编译安装软件时,出现如下错误:zipimport.ZipImportError: can't decompress data; zlib not available解决方法:yum -y install zlib-devel
2020-03-31 11:41:32 205
原创 configure: error: no acceptable C compiler found in $PATH
编译安装软件时,出现如下错误:configure: error: no acceptable C compiler found in $PATH解决方法:yum -y install gcc
2020-03-31 11:38:10 106
原创 centos7 安装谷歌浏览器
配置安装源:cd /etc/yum.repos.dvi google-chrome.repo [google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google...
2020-03-31 11:27:58 429 1
mostop-free.zip
2020-03-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人