0

WARNING: The script pygmentize is installed in '/home/maulik/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

wjandrea
  • 28,235
  • 9
  • 60
  • 81
  • Does this answer your question? [How to permanently set $PATH on Linux/Unix](https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix) – mkrieger1 Aug 18 '22 at 22:05

1 Answers1

0
import sys
sys.path.insert(0,'/home/maulik/.local/bin')

You can check more on this here: adding directory to sys.path /PYTHONPATH , PYTHONPATH vs. sys.path and Permanently add a directory to PYTHONPATH

wjandrea
  • 28,235
  • 9
  • 60
  • 81
Dan Constantinescu
  • 1,426
  • 1
  • 7
  • 11
  • I don't know if this answers the question cause I don't know the context, but `PATH` is certainly not the same thing as `PYTHONPATH` or `sys.path`. – wjandrea Aug 18 '22 at 22:02