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
2
Answers
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
It will upgrade to latest version(2.1.7).
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.