Closed jcchouinard closed 8 months ago
Thanks for posting this bug report!
From the logs, it seems likely to be an issue when building the wheels for pycld3
.
(Unfortunately, the developers do not provide pre-built wheels for Python 3.10.)
Building the wheels requires three things:
protoc
executablelibprotoc
libraryg++
On Ubuntu, all can be installed with the following commands:
sudo apt-get update
sudo apt-get install g++ protobuf-compiler libprotobuf-dev
Could you please check if the installation works after the required libraries are installed? If not, please report back with your OS version, so that I can try to reproduce the issue with the exact same OS.
I'll also update the readme to include these steps for installation.
PS: If you need a quick workaround, you could also just comment-out the pycld3~=0.22.0
line in pyproject.toml
.
That package is only required for language detection in the post hoc evaluations and not used in the crawling.
I also found some places where the old module name web_archive_query_log
was used instead of the new name archive_query_log
.
These are now fixed in 0e2063c6f65eb5092a60f60eba44a0b7d36e225a. Please git pull
the latest changes.
I did install protbuf either with pip install protobuf
, or brew upgrade protobuf || brew install -v protobuf
commands. None worked.
I still get: ERROR: Failed building wheel for pycld3. I had manually made those changes to my local. Now the other challenge is it needs the click dependency: ModuleNotFoundError: No module named 'click'
Yes, when the installation of the pycld3
wheel fails, the click
installation will likely also fail.
Could you try deleting the following line and see if pip install -e .
works then?
https://github.com/webis-de/archive-query-log/blob/9e51fa5183675f9f340213b019a2c078f1473c94/pyproject.toml#L44
The logs should then no longer mention anything related to cld3.
If that still doesn't work, it would be awesome if you could include a full error log :+1:
Yep! Removing https://github.com/webis-de/archive-query-log/issues/22#issuecomment-1789153969 was the solution. No need to install protobuf.
I can't seem to make it work. When running
pip3 install -e .
I get this output
Installing protobuf, does not fix the issue.