ModuleNotFoundError: No module named 'CommandNotFound'

ModuleNotFoundError: No module named 'CommandNotFound'

root@miaowo:~/stephen# scrapy

Traceback (most recent call last):

File "/usr/lib/command-not-found", line 27, in <module>

from CommandNotFound.util import crash_guard

ModuleNotFoundError: No module named 'CommandNotFound'

root@miaowo:~/stephen# pip3 install scrapy

Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

Requirement already satisfied: scrapy in /usr/python3/lib/python3.7/site-packages (1.7.3)

Requirement already satisfied: pyOpenSSL in /usr/python3/lib/python3.7/site-packages (from scrapy) (19.0.0)

Requirement already satisfied: cssselect>=0.9 in /usr/python3/lib/python3.7/site-packages (from scrapy) (1.1.0)

Requirement already satisfied: w3lib>=1.17.0 in /usr/python3/lib/python3.7/site-packages (from scrapy) (1.21.0)

Requirement already satisfied: parsel>=1.5 in /usr/python3/lib/python3.7/site-packages (from scrapy) (1.5.2)

Requirement already satisfied: service-identity in /usr/python3/lib/python3.7/site-packages (from scrapy) (18.1.0)

Requirement already satisfied: PyDispatcher>=2.0.5 in /usr/python3/lib/python3.7/site-packages (from scrapy) (2.0.5)

Requirement already satisfied: Twisted>=13.1.0; python_version != "3.4" in /usr/python3/lib/python3.7/site-packages (from scrapy) (19.7.0)

Requirement already satisfied: six>=1.5.2 in /usr/python3/lib/python3.7/site-packages (from scrapy) (1.12.0)

Requirement already satisfied: queuelib in /usr/python3/lib/python3.7/site-packages (from scrapy) (1.5.0)

Requirement already satisfied: lxml; python_version != "3.4" in /usr/python3/lib/python3.7/site-packages (from scrapy) (4.4.1)

Requirement already satisfied: cryptography>=2.3 in /usr/python3/lib/python3.7/site-packages (from pyOpenSSL->scrapy) (2.7)

Requirement already satisfied: pyasn1 in /usr/python3/lib/python3.7/site-packages (from service-identity->scrapy) (0.4.7)

Requirement already satisfied: attrs>=16.0.0 in /usr/python3/lib/python3.7/site-packages (from service-identity->scrapy) (19.1.0)

Requirement already satisfied: pyasn1-modules in /usr/python3/lib/python3.7/site-packages (from service-identity->scrapy) (0.2.6)

Requirement already satisfied: Automat>=0.3.0 in /usr/python3/lib/python3.7/site-packages (from Twisted>=13.1.0; python_version != "3.4"->scrapy) (0.7.0)

Requirement already satisfied: zope.interface>=4.4.2 in /usr/python3/lib/python3.7/site-packages (from Twisted>=13.1.0; python_version != "3.4"->scrapy) (4.6.0)

Requirement already satisfied: incremental>=16.10.1 in /usr/python3/lib/python3.7/site-packages (from Twisted>=13.1.0; python_version != "3.4"->scrapy) (17.5.0)

Requirement already satisfied: hyperlink>=17.1.1 in /usr/python3/lib/python3.7/site-packages (from Twisted>=13.1.0; python_version != "3.4"->scrapy) (19.0.0)

Requirement already satisfied: PyHamcrest>=1.9.0 in /usr/python3/lib/python3.7/site-packages (from Twisted>=13.1.0; python_version != "3.4"->scrapy) (1.9.0)

Requirement already satisfied: constantly>=15.1 in /usr/python3/lib/python3.7/site-packages (from Twisted>=13.1.0; python_version != "3.4"->scrapy) (15.1.0)

Requirement already satisfied: asn1crypto>=0.21.0 in /usr/python3/lib/python3.7/site-packages (from cryptography>=2.3->pyOpenSSL->scrapy) (0.24.0)

Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/python3/lib/python3.7/site-packages (from cryptography>=2.3->pyOpenSSL->scrapy) (1.12.3)

Requirement already satisfied: setuptools in /usr/python3/lib/python3.7/site-packages (from zope.interface>=4.4.2->Twisted>=13.1.0; python_version != "3.4"->scrapy) (40.8.0)

Requirement already satisfied: idna>=2.5 in /usr/python3/lib/python3.7/site-packages (from hyperlink>=17.1.1->Twisted>=13.1.0; python_version != "3.4"->scrapy) (2.8)

Requirement already satisfied: pycparser in /usr/python3/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL->scrapy) (2.19)

以上是 ModuleNotFoundError: No module named &#x27;CommandNotFound&#x27; 的全部内容, 来源链接: utcz.com/a/157059.html

回到顶部