ianding1 / leetcode.vim

Solve LeetCode problems in Vim!
MIT License
311 stars 43 forks source link

always says browser_cookie3 not install, even though brower_cookie3 is installed #62

Open gWOLF3 opened 4 years ago

gWOLF3 commented 4 years ago

ENV: MacOS Vim: 8.2

umar-tung commented 3 years ago

I am having the same issue on Ubuntu using nvim.

tsupei commented 3 years ago

@gWOLF3 @umar-tung I have the same issue, and here is my solution:

This might because the python interpreter that vim uses is different from the one you use. Find the python that vim uses, and use the correct pip to install browser_cookie3. In my case, I use brew to install vim and python, therefore:

brew info python3

It indicates that the interpreter is located here: /usr/local/opt/python@3.9/libexec/bin

/usr/local/opt/python@3.9/libexec/bin/pip install browser_cookie3