2017-02-03 5 views
0
aptitude search packaging 
i packaging-dev                 - convenient tools to develop packages              

なぜ私のdebian8にscrapyをインストールできないのですか?

[email protected]:~$ sudo apt-get install python-cryptography 

pip3 install scrapy 
Traceback (most recent call last): 
    File "/usr/bin/pip3", line 5, in <module> 
    from pkg_resources import load_entry_point 
    File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module> 
    import packaging.version 
ImportError: No module named 'packaging' 

pakagingがすでになぜそれをインポートすることはできません、インストールされているパッケージ-devを今すぐ

[email protected]:~$ sudo apt-get install packaging-dev 
[email protected]:~$ sudo aptitude search cryptography 

i A python-cryptography               - Python library exposing cryptographic recipes and primitives (Python 2)     
p python-cryptography-doc              - Python library exposing cryptographic recipes and primitives (documentation)    
p python-cryptography-vectors             - Test vectors for python-cryptography (Python 2)           
p python3-cryptography               - Python library exposing cryptographic recipes and primitives (Python 3)     
p python3-cryptography-vectors             - Test vectors for python-cryptography (Python 3) 

のpython-暗号化をインストールするためにインストールするには?

+0

は、適性を使用していない理由はありますピップ? –

答えて

0
Collecting scrapy 
    Downloading Scrapy-1.3.0-py2.py3-none-any.whl (239kB) 
    100% |████████████████████████████████| 245kB 1.1MB/s 
Collecting PyDispatcher>=2.0.5 (from scrapy) 
    Downloading PyDispatcher-2.0.5.tar.gz 
Requirement already satisfied: Twisted>=13.1.0 in /usr/lib/python2.7/dist-packages (from scrapy) 
Requirement already satisfied: lxml in /usr/lib/python2.7/dist-packages (from scrapy) 
Requirement already satisfied: service-identity in /usr/lib/python2.7/dist-packages (from scrapy) 
Requirement already satisfied: pyOpenSSL in /usr/lib/python2.7/dist-packages (from scrapy) 
Collecting w3lib>=1.15.0 (from scrapy) 
    Downloading w3lib-1.16.0-py2.py3-none-any.whl 
Collecting parsel>=0.9.5 (from scrapy) 
    Downloading parsel-1.1.0-py2.py3-none-any.whl 
Collecting cssselect>=0.9 (from scrapy) 
    Downloading cssselect-1.0.1-py2.py3-none-any.whl 
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python2.7/dist-packages (from scrapy) 
Collecting queuelib (from scrapy) 
    Downloading queuelib-1.4.2-py2.py3-none-any.whl 
Requirement already satisfied: cryptography>=0.7 in /usr/lib/python2.7/dist-packages (from pyOpenSSL->scrapy) 
Installing collected packages: PyDispatcher, w3lib, cssselect, parsel, queuelib, scrapy 
    Running setup.py install for PyDispatcher ... done 
Successfully installed PyDispatcher-2.0.5 cssselect-1.0.1 parsel-1.1.0 queuelib-1.4.2 scrapy-1.3.0 w3lib-1.16.0 

私はコンパイルすることでpython3.6をインストールするにはsudo pip install scrapy

関連する問題