mikhailklassen / Mining-the-Social-Web-3rd-Edition

The official online compendium for Mining the Social Web, 3rd Edition (O'Reilly, 2018)
Other
919 stars 487 forks source link

repo2docker quits during installation of feedparser: "error in feedparser setup command: use_2to3 is invalid." #88

Open Fabian-Wey-FFHS opened 1 year ago

Fabian-Wey-FFHS commented 1 year ago

I did some research and it appears that the problem is the use of "setuptools" with a version>57.5.

But I have no clue how I can tell the script that is running to use an older version of setuptools...

Fabian-Wey-FFHS commented 1 year ago

There is a Workaround.

  1. Clone repository: $ git clone https://github.com/mikhailklassen/Mining-the-Social-Web-3rd-Edition
  2. Comment out (#) "feedparser=5.2.1" in Mining-the-Social-Web-3rd-Edition/binder/requirements.txt
  3. Create Container from local/edited repo: $ repo2docker Mining-the-Social-Web-3rd-Edition
  4. In the terminal of the created docker container type: $ pip install "setuptools<58" $ pip install "feedparser==5.2.1"