© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•17mo ago•
1 reply
Bennek

Distrobox separate home and user for python

Hey,

Does anybody managed how to not mess own home directory, for example with python packages?

I built my container with the command below:
distrobox create -i registry.fedoraproject.org/fedora-toolbox:latest --init --additional-packages "systemd" -n oreilly --home ~/dbx/oreilly
distrobox create -i registry.fedoraproject.org/fedora-toolbox:latest --init --additional-packages "systemd" -n oreilly --home ~/dbx/oreilly


But when I want to install any package via pip it tries to mess my host's home:
pip3 install requests
Traceback (most recent call last):
  File "/home/bennek/.local/bin/pip3", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
pip3 install requests
Traceback (most recent call last):
  File "/home/bennek/.local/bin/pip3", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'


Does anybody know how to make my distrobox container to point to my created home?
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Distrobox with custom HOME directory
BazziteBBazzite / 🛟bazzite-help
5mo ago
Changing /home/user to /var/home/user
BazziteBBazzite / 🛟bazzite-help
16mo ago
KWallet and Distrobox
BazziteBBazzite / 🛟bazzite-help
2w ago
Need Help setting a different home directory using distrobox
BazziteBBazzite / 🛟bazzite-help
10mo ago