Skip to content

Error while login #66

@snu11

Description

@snu11

from perplexity import Perplexity
perplexity = Perplexity("xxx@gmail.com")

AssertionError                            Traceback (most recent call last)
Cell In[4], line 1
----> 1 perplexity = Perplexity("xxx@gmail.com")

File [C:\ProgramData\anaconda3\Lib\site-packages\perplexityai-0.1-py3.12.egg\perplexity\perplexity.py:38](file:///C:/ProgramData/anaconda3/Lib/site-packages/perplexityai-0.1-py3.12.egg/perplexity/perplexity.py#line=37), in Perplexity.__init__(self, email)
     35 self.backend_uuid: str = None # unused because we can't yet follow-up questions
     36 self.frontend_session_id: str = str(uuid4())
---> 38 assert self._ask_anonymous_user(), "failed to ask anonymous user"
     39 self.ws: WebSocketApp = self._init_websocket()
     40 self.ws_thread: Thread = Thread(target=self.ws.run_forever).start()

AssertionError: failed to ask anonymous user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions