2016-04-25 182 views
0

我已经安装了蟒蛇(Python的3.5),我想安装scrapy,但我不知道为什么它不工作Scrapy不能与畅达windows10安装安装

输入命令:

D:\Anaconda\Scripts>conda install -c scrapinghub scrapy 
D:\Anaconda\Scripts>conda install scrapy 
D:\Anaconda\Scripts>conda install -c https://conda.anaconda.org/anaconda scrapy 

输出:

The following specifications were found to be in conflict: 
    - cffi (target=cffi-1.5.2-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - conda -> conda-env 
    - conda -> menuinst 
    - conda -> pycosat 
    - conda -> python 2.7* 
    - conda -> pyyaml 
    - conda -> requests 
    - conda-env (target=conda-env-2.4.5-py35_0.tar.bz2) -> python 2.7*|3.3*|3.4*|3.5* 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> cffi 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> idna 2.0|2.1 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> openssl 1.0.2g 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> pyasn1 0.1.7|0.1.8|0.1.9 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*| 
3.5* 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> setuptools 
    - cryptography (target=cryptography-1.3-py35_0.tar.bz2) -> six 
    - idna (target=idna-2.0-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - lxml (target=lxml-3.6.0-py35_0.tar.bz2) -> python 2.6*|2.7* 
    - menuinst (target=menuinst-1.3.2-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - nose (target=nose-1.3.7-py35_0.tar.bz2) -> python 2.6*|2.7* 
    - pip (target=pip-8.1.1-py35_1.tar.bz2) -> python 2.7* 
    - pip (target=pip-8.1.1-py35_1.tar.bz2) -> wheel 
    - pyasn1 (target=pyasn1-0.1.9-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - pycosat (target=pycosat-0.6.1-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - pycparser (target=pycparser-2.14-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - pyopenssl (target=pyopenssl-0.15.1-py35_2.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5 
* 
    - python 3.5* 
    - pyyaml (target=pyyaml-3.11-py35_3.tar.bz2) -> python 2.7* 
    - requests (target=requests-2.9.1-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - scrapy -> lxml 
    - scrapy -> pyopenssl 0.14|0.15.1 
    - scrapy -> python 2.6*|2.7* 
    - scrapy -> setuptools 
    - scrapy -> six 
    - setuptools (target=setuptools-20.3-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5 
* 
    - six (target=six-1.10.0-py35_0.tar.bz2) -> python 2.6*|2.7*|3.3*|3.4*|3.5* 
    - wheel (target=wheel-0.29.0-py35_0.tar.bz2) -> python 2.7*|3.3*|3.4*|3.5* 
Use "conda info <package>" to see the dependencies for each package. 

请让我知道我能做些什么来与py3.5安装scrapy

谢谢!

回答

0

我已经解决了这个问题,使用下面的代码(我有下载WHL文件脚本中scrapy网络Scrapy-1.1.0rc3-py2.py3-none-any.whl DIR):

D:\Anaconda\Scripts>pip install Scrapy-1.1.0rc3-py2.py3-none-any.whl 
+0

'畅达安装scrapy = 1.1.0rc3'也应该努力 –

+0

我用你的代码,但有一个错误'错误:在当前的win-64通道缺少包: - scrapy 1.1.0rc3 *'这是否意味着scrapy不支持win10-64bit? – cutd

+0

我的不好。你可以试试'conda install -c scrapinghub scrapy = 1.1.0rc3'吗?即指定“scrapinghub”频道 –