Open pdurbin opened 6 months ago
Hi @pdurbin, just saw this issue.
You said you forced the installation from the source (at 8de7ede6fe317e3ef1688572c5a0e8112cc3232f it seems the version is 1.5.0), yet from your pip freeze the installed version is still scrapydweb==1.4.0
. Would fixing scrapydweb>=1.5.0
in the requirements.txt be sufficient? Do you have a PR?
Thanks!
@marcenacp - This will likely fix it. I suspect another package in the list has a scrapydweb==1.4.0
dependency, which means that the scrapydweb
from the requirements is skipped since no version is specified. Happy to open a PR 😊
Just tested on a fresh conda env and the resulting version is 1.4.0
Would fixing
scrapydweb>=1.5.0
in the requirements.txt be sufficient?
I tried this but pip install
is taking forever and I'm getting messages like this:
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
It seems to be in a loop. 🤔
And sorry for my confusing message above. I was trying to show before and after. The long pip freeze
output was from just following the readme. The other line was just showing the "after", the version I got after running python -m pip install git+https://github.com/my8100/scrapydweb.git
.
As I first reported at https://github.com/mlcommons/croissant/issues/530#issuecomment-2096806017 I tried to follow the README under /heath but scrapydweb failed to launch. err.txt is the full error but some highlights include:
RuntimeError: Working outside of application context.
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: metadata
(Background on this error at: https://sqlalche.me/e/20/e3q8)
@JR-1991 let me know he's getting the same error, which he believes is related to this issue:
He said, "Scrapydweb is 1.5.0 on PyPI but coming from the requirements.txt it installs 1.4.0. I guess due to other dependencies using it already."
He suggested installing the dev version like this and it worked for me:
python -m pip install git+https://github.com/my8100/scrapydweb.git
Here's my the output from
pip freeze
on my machine before I installed the dev version:This is the version of scrapydweb I'm using now: