Prodigy Installation issue: Make sure the file has the correct format and doesn't contain invalid JSON.

When I tried installing the prodigy, i can activate prodigy by

Projects\prodigy\Scripts\activate

After I enter the recipe, I got the message "Couldn't load config from C:\Users\Administrator.prodigy\prodigy.json. Make sure the file has the correct format and doesn't contain invalid JSON."

python -m prodigy ner.manual ner_news_headlines blank:en prodigy\news_headlines.jsonl --label PERSON,ORG,PRODUCT,LOCATION

But I can see the prodigy.json file in the folder. How can I start the prodigy browser interface?
image

hi @jeibei!

Given the error message, you likely didn't format your json file correctly.

Try to copy/paste your file to an online json formatter like this:

You likely missed a comma or something similar. I do this all the time. If the formatter doesn't help, work backwards by removing everything (i.e., your file is only {}, then check again so you can see it run. Then slowly add in each new key/value pair. Hopefully you'll find the error.

Hi Ryan, thanks again for your reply. I fixed the issue by making change in the prodigy.json file. Although I still do not quite understand why, I just wanted to share the changes that I made.
When I open the prodigy.json file, it was coded as

{
host:"*"
}

My progidy can work after I changed it to

{
"host":"localhost"
}