Skip to content

name 'requests' is not defined #81

Open
@StaZarycki

Description

@StaZarycki

Whenever I try to do anything I get this error message:

LeetCodeList E5108: Error executing lua Vim:Error invoking 'python_eval' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys; sys.path = [p for p in sys.path if p != ""]; import neovim; neovim.start_host()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/[...]/.local/share/nvim/lazy/leetcode.vim/autoload/leetcode.py", line 184, in load_session_cookie
    session = requests.Session()
              ^^^^^^^^
NameError: name 'requests' is not defined
stack traceback:
	[C]: at 0x01007f6dd4

I've installed all of the dependencies listed on the README.md file. I use LazyVim. Thanks for any help.

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