OS debian 9
After "pip3 installl Scrapy" run under terminal , but scrapy can't be taped automatically.
----> after below steps, then I try "sudo pip3 install Scrapy", amazing, issue fixed , hahahaahah
then baidu + try another one.
sudo apt-get install libxml2-dev
sudo apt-get install libxslt1-dev
cor@MiWiFi-R3-srv:~$ sudo apt-get install build-essential [sudo] password for cor: Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.3). build-essential set to manually installed. The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. cor@MiWiFi-R3-srv:~$ sudo apt-get install python3-dev Reading package lists... Done Building dependency tree Reading state information... Done python3-dev is already the newest version (3.5.3-1). python3-dev set to manually installed. The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. cor@MiWiFi-R3-srv:~$ sudo apt-get install libxml2-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: icu-devtools libicu-dev Suggested packages: icu-doc pkg-config The following NEW packages will be installed: icu-devtools libicu-dev libxml2-dev 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded. Need to get 17.5 MB of archives. After this operation, 96.6 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 icu-devtools amd64 57.1-6+deb9u3 [178 kB] Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libicu-dev amd64 57.1-6+deb9u3 [16.5 MB] Get:3 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libxml2-dev amd64 2.9.4+dfsg1-2.2+deb9u2 [812 kB] Fetched 17.5 MB in 60s (291 kB/s) Selecting previously unselected package icu-devtools. (Reading database ... 161296 files and directories currently installed.) Preparing to unpack .../icu-devtools_57.1-6+deb9u3_amd64.deb ... Unpacking icu-devtools (57.1-6+deb9u3) ... Selecting previously unselected package libicu-dev. Preparing to unpack .../libicu-dev_57.1-6+deb9u3_amd64.deb ... Unpacking libicu-dev (57.1-6+deb9u3) ... Selecting previously unselected package libxml2-dev:amd64. Preparing to unpack .../libxml2-dev_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ... Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up icu-devtools (57.1-6+deb9u3) ... Setting up libicu-dev (57.1-6+deb9u3) ... Setting up libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ... cor@MiWiFi-R3-srv:~$ sudo apt-get install libxslt1-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libxslt1-dev 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 514 kB of archives. After this operation, 2,469 kB of additional disk space will be used. Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libxslt1-dev amd64 1.1.29-2.1+deb9u2 [514 kB] Fetched 514 kB in 2s (217 kB/s) Selecting previously unselected package libxslt1-dev:amd64. (Reading database ... 161622 files and directories currently installed.) Preparing to unpack .../libxslt1-dev_1.1.29-2.1+deb9u2_amd64.deb ... Unpacking libxslt1-dev:amd64 (1.1.29-2.1+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libxslt1-dev:amd64 (1.1.29-2.1+deb9u2) ... cor@MiWiFi-R3-srv:~$ sudo apt-get install python3-setuptools Reading package lists... Done Building dependency tree Reading state information... Done python3-setuptools is already the newest version (33.1.1-1). python3-setuptools set to manually installed. The following packages were automatically installed and are no longer required: icedtea-netx icedtea-netx-common Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
cor@MiWiFi-R3-srv:~$ sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
icedtea-netx icedtea-netx-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libssl-doc
The following NEW packages will be installed:
libssl-dev libssl-doc
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 3,073 kB of archives.
After this operation, 11.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libssl-dev amd64 1.1.0l-1~deb9u1 [1,594 kB]
Get:2 https://mirrors.tuna.tsinghua.edu.cn/debian stretch/main amd64 libssl-doc all 1.1.0l-1~deb9u1 [1,480 kB]
Fetched 3,073 kB in 3s (791 kB/s)
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 161767 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.1.0l-1~deb9u1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.0l-1~deb9u1) ...
Selecting previously unselected package libssl-doc.
Preparing to unpack .../libssl-doc_1.1.0l-1~deb9u1_all.deb ...
Unpacking libssl-doc (1.1.0l-1~deb9u1) ...
Setting up libssl-dev:amd64 (1.1.0l-1~deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libssl-doc (1.1.0l-1~deb9u1) ...