#๐Ÿ”’ Can't install beautifulsoup4 machine wide

14 messages ยท Page 1 of 1 (latest)

toxic torrent
#

On ubuntu, does anyone know how i can force beautifulsoup4 to install machine wide? When I'm trying to install it's ssying I must do it in a venv. I'm hoping there's some override to force install machine wide?

modest valeBOT
#

@toxic torrent

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

open lake
#

System-wide installations are not supported on many Linux distros because they can conflict with system packages

toxic torrent
#

So no way to force it eh

open lake
midnight field
#

it's possible to force it, the error should actually explain how to do it.
But it's really not recommended.

toxic torrent
#

The error says use pipx which creates the venv by itself

#

But if it's really not recommended I won't do it

open lake
#

pipx is for installing applications written in Python.

#

either way, if it's downloading packages every time that bothers you, use uv. It caches them.

#

I've replaced my entire venv/pip/pipx stack with uv

toxic torrent
#

I'll look into that thanks

modest valeBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.