question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I install scrapy on python3.6?

See original GitHub issue

I use the newest Python on Centos 7, and a dedicated virtualenv

(ENV) [luoc@study ~ ]$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.3.1611 (Core) 
Release:	7.3.1611
Codename:	Core

(ENV) [luoc@study ~ ]$ python --version
Python 3.6.0

When I install scrapy, the error

(ENV) [luoc@study ~ ]$ pip install scrapy
Collecting scrapy
  Using cached Scrapy-1.3.2-py2.py3-none-any.whl
Collecting cssselect>=0.9 (from scrapy)
  Using cached cssselect-1.0.1-py2.py3-none-any.whl
Requirement already satisfied: six>=1.5.2 in ./ENV/lib/python3.6/site-packages (from scrapy)
Collecting Twisted>=13.1.0 (from scrapy)
  Could not find a version that satisfies the requirement Twisted>=13.1.0 (from scrapy) (from versions: )
No matching distribution found for Twisted>=13.1.0 (from scrapy)

(ENV) [luoc@study ~ ]$ pip install Twisted
Collecting Twisted
  Could not find a version that satisfies the requirement Twisted (from versions: )
No matching distribution found for Twisted

the Twisted can’t find a version, so how can I do it

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

24reactions
ntpdatecommented, Nov 13, 2017

I also encountered such a problem,but I solved by installing the source package

wget https://twistedmatrix.com/Releases/Twisted/17.1/Twisted-17.1.0.tar.bz2

tar -jxvf Twisted-17.1.0.tar.bz2

cd Twisted-17.1.0

python3 setup.py install

8reactions
duzhorcommented, Dec 14, 2018

Install with one line of command: python3 -m pip install git+git://github.com/twisted/twisted.git

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation guide — Scrapy 2.7.1 documentation
Though it's possible to install Scrapy on Windows using pip, we recommend you to install Anaconda or Miniconda and use the package from...
Read more >
Scrapy - PyPI
Install. The quick way: pip install scrapy. See the install section in the documentation at https://docs.scrapy.org/en/latest/intro/install.html for more ...
Read more >
How to Install Python Scrapy on Windows? - GeeksforGeeks
Scrapy is a web scraping library that is used to scrape, parse and collect web data. Now once our spider has scraped the...
Read more >
Scrapy: pip Install scrapy on windows 10 with python 3.6 and ...
Installation of Scrapy on Windows may facing error while installing Twisted .Use conda is a easy way to deal with it.
Read more >
How To Use Python Pip - NBShare
Let us say we want to install the package Scrapy. In [ ]: pip install Scrapy ... /home/abhiphull/anaconda3/envs/condapy36/lib/python3.6/site-packages ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found