-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Install script patch #1994 #2029
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct me if i'm wrong but pipx install does not have a -r arg.
…encies using pipx individually
i've addressed it in the lastest commit |
On Arch: Installing...
Continue? (y/n)
y
Installing all
Installing required packages
warning: python-3.12.3-1 is up to date -- skipping
warning: python-pipx-1.5.0-2 is up to date -- skipping
warning: tk-8.6.14-3 is up to date -- skipping
warning: git-2.45.0-1 is up to date -- skipping
there is nothing to do
usage: python -m ensurepip [-h] [--version] [-v] [-U] [--user] [--root ROOT] [--altinstall] [--default-pip]
python -m ensurepip: error: unrecognized arguments: unzip
Installation failed |
this appears to be an error due to fault in arch's dep install function, latest commit fixed it. idk why the previous author tried to put |
DEP_LIST=./RedditVideoMakerBot-master/requirements.txt | ||
if [[ -f $DEP_LIST ]]; then | ||
while read -r DEPS; do | ||
pipx install $DEPS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not tested on other distros, but on arch at least, pipx install packagename prints out an error for most packages:
No apps associated with package packagename. Try again with '--include-deps' to include apps of dependent
packages, which are listed above. If you are attempting to install a library, pipx should not be used.
Consider using pip or a similar tool instead.
Co-authored-by: Cyteon <[email protected]>
Description
fixed #1994 which raised an error due to (pep 668)[https://peps.python.org/pep-0668/], however, instead of using the
--break-system-packages
flag to override the error, i thikn using pipx is a better solution.there are other minor improvements made, but not biggy
Issue Fixes
#1994
Checklist:
Any other information (e.g how to test the changes)
just run the script into ubuntu or other distro, should work, havent tested it tho