Closed georgeJzzz closed 5 months ago
I'm also encountering the same problem, using scrapy==2.11.1, scrapy-redis==0.7.3
I'm also encountering the same problem, using scrapy==2.11.1, scrapy-redis==0.7.3
Just need an official upgrade to the compatibility package. I upgraded locally, but it's not convenient for future use。
i'm not able to upgrade locally, how you did that?
i'm using Ubuntu 22
git clone https://github.com/darkrho/scrapy-redis.git cd scrapy-redis
After executing make clean
&& make dist
, pypi will be generated in the dist directory, just install it.
there is no dist directory
My mistake,
you try python setup.py install
Yes
python setup.py install
i already installed zope-interface 6.2 installed on my system.
i already installed zope-interface 6.2 installed on my system.
@Ehsan-U It's not a zope-interface
problem, it's Twisted
. You need to pip install Twisted==22.10.0
and then python setup.py install
again.
Twisted version needs to be less than or equal to 22.10.0
.
This project can consider optimizing dependency management.
@shengchenyang Thanks, its upgraded successfully.
Hello @shengchenyang , how did you know the problem is Twisted? Can you share how you found out this?
@VQHieu1012 Compatibility issues can be located through the install_requires
parameter in setup.py, which is requirements.txt.Then you need to check step by step.
But I still recommend running pip install wheel && make dist
in your python virtual environment. The binary package will be generated in the dist folder.Instead of using python setup.py install
.
@shengchenyang thanks for sharing.
I did this in requirements.txt
, which seems ok
scrapy-redis @ git+https://github.com/rmax/scrapy-redis@48a7a8921ae064fe7b4202b130f1054ede9103d6
I encountered a new problem。 Program error interrupt, I am using scrapy==2.11.1, scrapy-redis==0.7.3
In addition, since the latest package of scrapy-redis that is compatible with the new version of scrapy has not been released, need to package it
I tried to package it myself and it works fine, is it possible to update the latest
scrapy-redis
package? Very necessarythanks