iheanyi / bandcamp-dl

Simple python script to download Bandcamp albums
The Unlicense
956 stars 108 forks source link

Arch PyPI installation command not found #198

Closed Evolution0 closed 1 year ago

Evolution0 commented 2 years ago

Describe the bug When installed from PyPI (but not source) the command bandcamp-dl will not be recognized.

To Reproduce Command to reproduce the behavior: bandcamp-dl

Expected behavior Command should be recognized either immediately or on a fresh terminal instance.

Desktop (please complete the following information):

Evolution0 commented 1 year ago

Decided to come back to this now that I have all my VMs setup again, a clear message indicating why this would be an issue comes up during install:

WARNING: The script bandcamp-dl is installed in '/home/<USERNAME>/.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.

A vanilla Arch installation will not have that directory in its PATH, but a user can add it themselves by adding or changing this line in ~/.bash_profile or ~/.bashrc: export PATH="~/<USERNAME>/.local/bin:$PATH"