Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

"can't find neuron executable" #41

Open
zhenjieliang opened this issue Nov 3, 2021 · 8 comments
Open

"can't find neuron executable" #41

zhenjieliang opened this issue Nov 3, 2021 · 8 comments

Comments

@zhenjieliang
Copy link

run the command in neovim

:lua require 'neuron'.setup()

return the error "neuron is not executable".

But I had installed the neuron already and run command in bash "neuron -v" works.

@arkottke
Copy link

arkottke commented Nov 3, 2021

Do you have a space between require and '?

@zhenjieliang
Copy link
Author

Do you have a space between require and '?

Thanks for attention. Yes, I do have a space between require and '

@zhenjieliang
Copy link
Author

How can I add the neuron binary path to the neovim executable search paths?

@lokesh-krishna
Copy link

You just need to add it to your $PATH.

@zhenjieliang
Copy link
Author

You just need to add it to your $PATH.

Thanks for reply! Did you mean add the neuron binary path in my ~/.zshrc and then source it?

Already done it

export PATH=/nix/store/42kyavaxgcmxisxap302fssyvyn39n66-neuron-1.9.35.3/bin:$PATH

but still the problem remains.

@lokesh-krishna
Copy link

Does echo $PATH show this location? As long as I had the binary in one of the locations, I could get it to work.

@zhenjieliang
Copy link
Author

Does echo $PATH show this location? As long as I had the binary in one of the locations, I could get it to work.

Yes, I run the command in terminal, and the neuron binary path does show up. But still the problem remains.

@AuLaSW
Copy link

AuLaSW commented Jan 14, 2022

Has anybody found a solution to this? I've been experiencing the same problem and cannot get it to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants