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.

Why type pip install Scrapy will install 1.8.0 version ?

See original GitHub issue

mac: 10.15.5

I have installed scrapy 1.8.0, I want to upgrade to 2.1.0

So I type sudo pip install --upgrade scrapy, it is not working.

Then I try to reinstall scrapy on terminal. Here is my step:

  1. python --version (print Python 3.7.6)
  2. sudo pip uninstall scrapy (uninstall successfully)
  3. sudo pip install Scrapy
  4. Scrapy --version

the terminal shows Scrapy 1.8.0 - no active project

Why I can’t install 2.1.0 version ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
elacuestacommented, Jun 15, 2020

Seems like your system-wide python binary is Python 2, which is not supported anymore since Scrapy 2.0. I’d recommend you to install Scrapy using Python 3, within a virtual environment, i.e.:

$ python3 -m venv my-venv
$ source my-venv/bin/activate
$ pip install scrapy
0reactions
motogodcommented, Jun 16, 2020

@elacuesta Yes, virtual environment is working. Thank you very much.

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 >
How to update scrapy from 1.8.0. to newest (2.1.0) on Ubuntu ...
I installed scrapy recently by using the pip command ( pip install scrapy ). Now I discovered that the installed version is 1.8.0....
Read more >
Scrapy - PyPI
Scrapy is a fast high-level web crawling and web scraping framework, used to crawl websites and extract structured data from their pages. It...
Read more >
How To Use Python Pip - NBShare
To Install a specfic package, just put the version name after the '==' sign as shown below. To Install Scrapy version 2.4.1, execute...
Read more >
pip's dependency resolver does not currently take into account ...
I'm trying to install tensorflow==2.5.0 (DLC version==2.2) but I got the error: ERROR: pip's dependency resolver does not currently take into ...
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