nathanrchn / perplexityai

A python api to use perplexity.ai
233 stars 60 forks source link

Still happening : TypeError: 'builtin_function_or_method' object is not subscriptable #19

Closed Yassine-El-M closed 1 year ago

Yassine-El-M commented 1 year ago

Thanks for this great repository. Unfortunately, I got this error :

image

nathanrchn commented 1 year ago

Yes I made an error. I have fixed that.

Yassine-El-M commented 1 year ago

Thanks a lot for the update, I ran this line to update : !pip install -U git+https://github.com/nathanrchn/perplexityai.git I restarted everything, but I'm still getting the same error, I'm not sure what I'm not doing correctly

image

nathanrchn commented 1 year ago

Try to uninstall it and then re-install it.

Yassine-El-M commented 1 year ago

Thanks for the response, just if anyone had the same issue, try uninstalling from command prompt.

Anyway, now I got a different issue : websocket error: Handshake status 400 BAD REQUEST

As shown in the screenshot it just keeps running and it doesn't stop until I interrupt it.

image