Is it not possible to install scrapy on repl?
JamesXin (15)

I tried installing scrapy with import scrapy, but it says something about a recursion error...pls help

You are viewing a single comment. View All
KrishanuDhar (3)

I am facing the same problem. I have not run into this on my PC or via pipenv install. Therefore, wondering what could be going wrong here.

Any help is appreciated.

KrishanuDhar (3)

I have removed the project.toml and retried. But the error follows, see below.

--> python3 -m poetry add Scrapy
Using version ^2.5.0 for Scrapy

Updating dependencies
Resolving dependencies...

maximum recursion depth exceeded
exit status 1 Package operation failed.

JamesXin (15)

@KrishanuDhar I found that if you name the project file scrapy or something it will cause packaging to fail due to how repl works. Try naming it something else.

KrishanuDhar (3)

@JamesXin None of the files I have are named scrapy. Any other recommendations?