1. 程式人生 > >python3 使用pip 安裝scrapy報錯

python3 使用pip 安裝scrapy報錯

直接使用pip3 install scrapy會報很多錯誤,所以試試以下步驟。

(1)

https://www.lfd.uci.edu/~gohlke/pythonlibs/

在這個python第三方庫裡下載三個包:分別是lxml,twisted,scrapy。【按照自己的電腦和Python版本下載相應的包】

(2)

cd 到放這三個包的資料夾下,依次pip3 install 上述三個.whl檔案。

例如:

pip3 install Twisted-17.9.0-cp36-cp36m-win_amd64.whl

pip3 install Scrapy-1.4.0-py2.py3-none-any.whl

(3)

全部安裝完後,直接在命令列輸入scrapy,看是否出現以下提示,如果出現則說明安裝成功。如果不出現,執行步驟(4)

相關推薦

python3 使用pip 安裝scrapy

直接使用pip3 install scrapy會報很多錯誤,所以試試以下步驟。 (1) https://www.lfd.uci.edu/~gohlke/pythonlibs/ 在這個python第三方庫裡下載三個包:分別是lxml,twisted,scrapy。【按

python3.6安裝scrapy

錯誤 sim onerror one com ngs 遇到 too 庫文件 用python做爬蟲的,肯定熟悉scrapy,不過新手安裝總是會遇到奇葩錯誤。   說說這個很常見的錯誤:building ‘twisted.test.raiser‘ extensionerror:

python3.7.3使用pip安裝mysqldb,3.7.3後改為pymysql

ESS rom python match from whl not find found org (xiao) [[email protected] web]$ pip install mysqldbCollecting mysqldbCould not find

解決Python3.7安裝pygameYou are using pip version 10.0.1, however version 19.1 is available.

win bubuko python3.7 whl 顯示 game image install 下載 背景:   學習python開發中,需要用到pygame插件,因此按照參考書《Python編程實踐,從入門到實踐》指引安裝Pygame包。   但是利用pip 命

pip安裝selenium:Read timed out

cnblogs except clas https lib def connect pack spa 今天打算把selenium降級重新安裝,發現安裝時總是失敗,報如下錯誤: raise ReadTimeoutError(self._pool, None, ‘Read t

pip 安裝 ipython

scan for evel and http pip 方法 ofo can 報錯信息:python Failed building wheel for scandir解決方法 wget http://nipy.bic.berkeley.edu/scipy_installer

pip安裝mysql_python

usr ati rmi mina evel n) upgrading term radi pip安裝mysql_python報錯 _mysql.c:29:20: fatal error: Python.h: No such file or directory

ubuntu16.04 pip install scrapy 處理

libs site libffi span ESS for -i ssl col Failed building wheel for Twisted inculde/site/python3.5/Twisted failed with error code 1 in tm

pip安裝uwsgi

pip安裝uwsgi是報以下錯誤: [[email protected] ~]# pip install uwsgi Command “/usr/bin/python -u -c “import setuptools, tokenize;file=’/t

python3安裝LTP“Failed building wheel for pyltp”的解決辦法

win10環境下,使用 pip install pyltp 安裝LTP時,命令列報錯 Failed building wheel for pyltp   解決方法: 先下載ltp對應python版本的whl檔案 pyltp-0.2.1-cp35-cp35m-win_amd6

centos下pip安裝mysql_pythonmysql_config not found

1.安裝mysql_python時,出現如下錯誤: Collecting mysql-python (from -r pip_requirements.txt (line 8))   Using cached&nb

Python更新過pip安裝cannot import name main問題

我們在使用python時,有時候更新過pip以後,再使用pip install 安裝庫的時候說cannot import main,這是python自帶的bug。 看下面截圖 說的再 File “/usr/bin/pip” 第九行,我們開啟這個檔案編輯 sudo vi /usr/bin/pi

pip 安裝-bash: /home/ubuntu/.local/bin/pip: No such file or directory

which pip     /usr/local/bin/pip pip     -su: /usr/bin/pip: No such file or directory type pip  

macOS High Sierra python pip 安裝許可權解決

問題背景 需要使用Python的 matplotlib模組,於是使用 pip install matplotlib進行安裝,安裝時報錯:OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packa

pip install scrapy

環境:python3.6.3  error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Vis

pip安裝pycurl

pip install pycurl 報錯提示如下: Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using. P

解決pycharm 無法載入pip安裝:python packing tools not found. install packing tools

Linux下開啟 /opt/pycharm-xxxxx/helpers/packaging_tool.py windows下開啟 C:\Program Files\JetBrains\PyCharm

Python 安裝Scrapy(已解決)

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools 進入該

成功解決PIP安裝模組,You are using pip version 9.0.1, however version xxx is available

在PIP安裝模組時,發現報以下錯誤: You are using pip version 9.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m p

pip安裝mysqldb

詳細問題:   (windows)python環境安裝MySQLdb第三方包,報錯Microsoft Visual C++ 9.0 is required 解決方法:   下載MySQL_python-1.2.5-cp27-none-win32.whl(http