Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while login #66

Open
snu11 opened this issue Dec 13, 2024 · 0 comments
Open

Error while login #66

snu11 opened this issue Dec 13, 2024 · 0 comments

Comments

@snu11
Copy link

snu11 commented Dec 13, 2024

from perplexity import Perplexity
perplexity = Perplexity("[email protected]")

AssertionError                            Traceback (most recent call last)
Cell In[4], line 1
----> 1 perplexity = Perplexity("[email protected]")

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant