Add this directory to PATH

Im tryng to install this

Installing with pip i get this info:

WARNING: The scripts kbs and keyboardsounds are installed in '/home/myuser/.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

if i write kbs in the terminal i get nothing.
Did you know how add the directory to PATH?

I try this:

 vi ~/.bashrc
export PYTHONPATH="${PYTHONPATH}:/new/path"

replacing new path with the corresponding, but it is not working.

Thanks.

No garuda-inxi has been posted so we can’t see what shell is in use. If you are using Fish, you can follow this document to add a component to the $PATH: fish_add_path - add to the path — fish-shell 3.6.1 documentation

2 Likes

here it is

garuda-inxi
System:
  Kernel: 6.5.9-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=4e906687-8c77-4b83-9053-3b586eb81b12 rw rootflags=subvol=@
    quiet resume=UUID=c2962ddb-91e8-4e83-87a5-4c2d77fcc58f loglevel=3 ibt=off
  Desktop: GNOME v: 45.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM
    v: 45.0.1 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ECS product: CMPC v: N/A serial: <superuser required>
  Mobo: ECS model: Mobile PC serial: <superuser required>
    UEFI: American Megatrends v: 2.03.00 date: 10/13/2021
Battery:
  ID-1: BAT1 charge: 21.3 Wh (70.1%) condition: 30.4/30.4 Wh (100.0%)
    volts: 7.7 min: 7.6 model: Standard SF20GM7 type: Li-ion serial: <filter>
    status: discharging
CPU:
  Info: model: Intel Celeron N4020 bits: 64 type: MCP arch: Goldmont Plus
    level: v2 built: 2017 process: Intel 14nm family: 6 model-id: 0x7A (122)
    stepping: 8 microcode: 0x22
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 112 KiB
    desc: d-2x24 KiB; i-2x32 KiB L2: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 796 min/max: 800/2800 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 796 2: 796 bogomips: 4377
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel GeminiLake [UHD Graphics 600] vendor: Elite Systems
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3185
    class-ID: 0300
  Device-2: SunplusIT USB 2M Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2 chip-ID: 0a0a:24b1
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model-id: STA 0x0002 built: 2021 res: 1366x768 dpi: 136
    gamma: 1.2 size: 256x144mm (10.08x5.67") diag: 294mm (11.6") ratio: 16:9
    modes: 1366x768
  API: Vulkan v: 1.3.269 layers: 3 device: 0 type: integrated-gpu name: Intel
    UHD Graphics 600 (GLK 2) driver: mesa intel v: 23.2.1-arch1.2
    device-ID: 8086:3185 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 128 bits) driver: mesa llvmpipe
    v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
    vendor: Elite Systems driver: snd_hda_intel v: kernel alternate: snd_soc_skl,
    snd_soc_avs, snd_sof_pci_intel_apl bus-ID: 00:0e.0 chip-ID: 8086:3198
    class-ID: 0403
  Device-2: C-Media USB Advanced Audio Device
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-8:3 chip-ID: 0d8c:025a class-ID: 0300
  API: ALSA v: k6.5.9-zen2-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Gemini Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:0c.0 chip-ID: 8086:31dc class-ID: 0280
  IF: wlo2 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:4
    chip-ID: 8087:0aaa class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.1 lmp-v: 10
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 447.13 GiB used: 7.9 GiB (1.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Neo Forza model: NFN025SA348-6000000
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 5A0 scheme: GPT
Partition:
  ID-1: / raw-size: 438.03 GiB size: 438.03 GiB (100.00%) used: 7.9 GiB (1.8%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 438.03 GiB size: 438.03 GiB (100.00%)
    used: 7.9 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 438.03 GiB size: 438.03 GiB (100.00%)
    used: 7.9 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 438.03 GiB size: 438.03 GiB (100.00%)
    used: 7.9 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.58 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 2 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 215 Uptime: 51m wakeups: 1 Memory: total: 8 GiB
  available: 7.59 GiB used: 2.64 GiB (34.8%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1264 libs: 414 tools: gnome-software,paru Shell: Bash
  v: 5.2.15 running-in: gnome-terminal inxi: 3.3.31
Garuda (2.6.17-1):
  System install date:     2023-11-06
  Last full system update: 2023-11-08
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:

PATH not PYTHONPATH anyways.

1 Like

If you are using Bash then using .bashrc is fine. It should look like this:

export PATH=$PATH:/home/myuser/.local/bin
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.