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

-bash: nvr: command not found #64

Closed
simon-bigsofa opened this issue Nov 2, 2017 · 6 comments
Closed

-bash: nvr: command not found #64

simon-bigsofa opened this issue Nov 2, 2017 · 6 comments

Comments

@simon-bigsofa
Copy link

Followed instructions for installation but nvr command not found.

pip3 install --user --upgrade neovim-remote
nvr -h
-bash: nvr: command not found

Python 3 installed on MacOS Sierra via Homebrew.

@mhinz
Copy link
Owner

mhinz commented Nov 3, 2017

The instructions also say to add ~/.local/bin to $PATH if you install with --user. :)

@mhinz
Copy link
Owner

mhinz commented Nov 3, 2017

Hmm, I just learned that Python on macOS only used ~/.local/bin up to 3.2. Then they switched to ~/Library/Python/<version>/bin. That directory is controversial and might change in the future again.

But currently, if you use Python3 from homebrew, pip3 install neovim-remote should install to /usr/local/bin/nvr and pip3 install --user neovim-remote to ~/Library/Python/3.6/bin/nvr.

I'll change the docs accordingly.

mhinz added a commit that referenced this issue Nov 3, 2017
mhinz added a commit that referenced this issue Nov 3, 2017
mhinz added a commit that referenced this issue Nov 3, 2017
@mhinz
Copy link
Owner

mhinz commented Nov 3, 2017

Okay, I updated the docs.

If you don't have a good reason for using --user, I'd suggest just using pip3 install which installs to /usr/local/bin which is in $PATH by default.

@simon-bigsofa
Copy link
Author

Yep, adding Library/Python/<version>/bin to $PATH did the trick.

Thanks, Marco!

@mhinz
Copy link
Owner

mhinz commented Nov 3, 2017

You're welcome and thanks for bringing this up!

@mhinz mhinz closed this as completed Nov 3, 2017
@Nishant-Pall
Copy link

Nishant-Pall commented May 1, 2021

Ummm, this might sound like a newbie query but how do I add .local/bin to PATH, I tried export=.local/bin but that didn't work in fish shell. I use WSL Ubuntu 20.04 with Windows 10

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

3 participants