fhamborg / news-please

news-please - an integrated web crawler and information extractor for news that just works
Apache License 2.0
1.99k stars 414 forks source link

Execution neither possible on current Mac OS nor Windows 10 #225

Closed vivianevv closed 2 years ago

vivianevv commented 2 years ago

Dear Newsplease Team

On Mac OS, the package psycopg-binary was not compatible with Monterey (newest Mac OS). This problem did not occur on Windows 10. However, when executing the commoncrawl example there, the function __get_remote_index... in the file commoncrawl_crawler.py throws an error when trying to execute the command: "Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird" (which roughly translates to access denied because the file is currently being used by another process). But it is only used by Python, so the tool is kind of blocking itself.

So I would like to ask: Is there a fix for that, or is it really impossible to use this function in Windows? Will I have to downgrade my Mac OS?

Thank you in advance! Best, Viviane

Versions (please complete the following information):