skip to Main Content

I am trying to install and configure twarc2 library for getting full archive search from twitter. But while configuring using twarc2 configure , After I enter my Bearer token ,I get the error message. I have attached the screenshot of the error below. Please suggest possible solution to resolve this.

To know more about twarc: Twarc2 library

File not found error

2

Answers


  1. Chosen as BEST ANSWER

    Yes this problem was due to Code to create config file (when not present) was not available in twarc library and thus this issue. This issue had been reported in github and is resolved now.

    Issues-Docnow/twarc - Github

    Solution is just

    pip install --upgrade twarc
    

    It will upgrade to latest version(2.1.7).


  2. I had the same problem and just stumbled over this:
    https://github.com/DocNow/twarc/releases/tag/v2.1.7

    Apparently the was a bug in the code of twarc 2.1.6 which has been fixed in 2.1.7.

    I just upgraded with pip an everything worked fine.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search