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

Updating gallery-dl replaced the python command #6560

Closed
firas5673 opened this issue Nov 30, 2024 · 1 comment
Closed

Updating gallery-dl replaced the python command #6560

firas5673 opened this issue Nov 30, 2024 · 1 comment

Comments

@firas5673
Copy link

When I open a terminal and enter "python", this is what I get:

usage: python [OPTION]... URL...
python: error: The following arguments are required: URL
Use 'gallery-dl --help' to get a list of all options.

This has only started happening after I've upgraded gallery-dl using the command "gallery-dl -U".
Is this a known issue? How do I fix it?

@mikf
Copy link
Owner

mikf commented Nov 30, 2024

Is this a known issue?

It is. I made a dumb mistake and accidentally enabled the upgrade code of executables for pip installations. This is fixed in v1.27.4 (9db361e)

edit2: I have since updated my git pre-commit hook to catch code like this.

How do I fix it?

Re-install Python and update gallery-dl without -U.

edit: A different bug report with the same problem: #6176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants