Closed harshitgarg02 closed 4 years ago
also this
From your error message, you have to run xcode-select --install
.
help
Try running sudo xcode-select --reset
and then xcode-select --install
.
Still
But installation completed now with no error
Oh, good. Problem solved?
Nope
What's the problem?
Read the README, then run python3 -m hackq_trivia.bearer_finder
to obtain your bearer token.
Ok trying
Enter your phone number, including + and country code (e.g. +14155552671)
Example: (415) 555-0171 (U.S. number) -> +14155550171
Alternatively, enter a previous verification ID:
? +14142869827
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/devanshugarg/HackQ-Trivia/hackq_trivia/bearer_finder.py", line 65, in
Try using a VPN.
saying this
ok
wait a minute installing vpn
got my bearer token
pasted it in config file
what about google api and others
Follow the instructions in the README to obtain either a Bing/Google API key. If I remember correctly, you'll need a valid credit card but you won't be charged.
you mean google console??
Name your custom search engine and type in any valid URL in Sites to search
what is this
Name it, and add anything (e.g. https://google.com/) in sites to search. The site you add will be deleted later as part of the process.
ok
if i dont setup bing then??
As long as you have one of Google or Bing set up, it is OK.
ok
any test py??
Feel free to run any of the tests in the test folder, such as python3 -m hackq_trivia.tests.test_question_handler_answers
.
As it says, your API key is invalid.
i got from official website
Did you paste it in hq_config.conf?
yup
if i run main py
i restarted the terminal and guess what it worked. thanks a lot
No problem!
Best not share your API key online :-)
If you like the project, a star would be much appreciated!
I started it because I loved this project
This project should be appreciated
please help