-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Why >lep login Failed??? #85
Comments
This error will be reported when I type the command BACKEND=SERPER python3 search_with_lepton.py or lep log |
god i need a code god! help me please! |
this problem has been resolved, see here:leptonai/leptonai#432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
root@iZt4n5462zgbdxz4pnhy3iZ:/home/search_with_lepton# lep login
========================================================
Traceback (most recent call last):
File "/usr/local/bin/lep", line 8, in
sys.exit(lep())
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/leptonai/cli/cli.py", line 146, in login
info = api_client.info()
File "/usr/local/lib/python3.10/dist-packages/leptonai/api/v1/client.py", line 177, in info
response = self._get("/workspace")
File "/usr/local/lib/python3.10/dist-packages/leptonai/api/v1/client.py", line 155, in _get
return self._session.get(self.url + path, *args, **self._safe_add(kwargs))
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 575, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python3.10/dist-packages/requests/sessions.py", line 486, in prepare_request
p.prepare(
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 368, in prepare
self.prepare_url(url, params)
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 439, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL '/api/v1/workspace': No scheme supplied. Perhaps you meant https:///api/v1/workspace?
The text was updated successfully, but these errors were encountered: