I'm trying to run a script from a friend that requires the `requests-html` package, but I'm having trouble installing it on Arch Linux. I've attempted several commands, but I keep getting errors stating that no executables were provided, and the package gets removed. I'm not sure what to do next and would appreciate any help!
3 Answers
The "no executables were provided" error usually means you're trying to run something that isn't executable or missing some dependencies. Since you're using Arch Linux, ensure you have `python-pip` installed with `sudo pacman -S python-pip`. Sometimes, you might need to use `pip3` instead of `pip`, depending on your setup. Also, check if any virtual environments are active, as that can cause issues with package installations. Use `which pip` and `python --version` to check your environment.
You're referring to the Python package `requests-html`, right? To install it, you can generally use the command `pip install requests-html`. But you mentioned some issues, so I'll need a bit more info. What exact commands have you tried, and what error messages are you seeing? Please copy and paste them so we can troubleshoot better.
I tried `pip` and got an "externally-managed-environment" error. I've also attempted `uv tool install`, `uv pip install`, and various `pip install` commands. But they keep saying that the package doesn't exist or no executables are provided for `requests-html`, and then it tries to remove it. It's super frustrating!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically