How can I install requests-html on Arch Linux?

0
8
Asked By TechieTurtle42 On

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

Answered By PythonNinja77 On

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.

Answered By CodeWhizSpark On

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.

Answered By ArchAdventurer88 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.