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

Warnings: files not on PATH #17

Open
saltbr1nger opened this issue Oct 2, 2022 · 2 comments
Open

Warnings: files not on PATH #17

saltbr1nger opened this issue Oct 2, 2022 · 2 comments

Comments

@saltbr1nger
Copy link

Linux noob on Ubuntu 20.04. Just installed gruvbox-factory, but received several warnings at the end indicating some scripts not installed on PATH (re: cmark, pygmentize, gruvbox-factory). How to fix pls.

@0xhenrique
Copy link

Don't know if it's helpful yet.
Can you share the exact error message?

@H4ppy-04
Copy link
Contributor

Linux noob on Ubuntu 20.04. Just installed gruvbox-factory, but received several warnings at the end indicating some scripts not installed on PATH (re: cmark, pygmentize, gruvbox-factory). How to fix pls.

The problem here is that although you have installed gruvbox-factory, your system does not allow you to globally call gruvbox-factory. If you have installed the python package with the --user flag, you'll have to add your packages path (which will be somewhere in your $HOME directory) to your shell configuration file (.bashrc, .zshrc, etc)

Chances are, the error message will spit out a path that you can add to your shell config file. something like:

Warning

$HOME/.local/share/python3/site-packages/ is not in your $PATH.

or something like that?
If that's the case, you can use that directory to add to your config file.
For how to do that, depending on your shell have a look at the following resources.

Bash ZSH Fish
How to Add a Directory to PATH in Linux Add a directory to path in ZSH add_to_path command in fish
modify environment variables in fish shell

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