Skip to content

u/Doomtrain86

In this archive from Jun 2022 to Dec 2025

3
posts
100
comments
0
media
131
score
2 saved before deletion

Seems like ppl in the comments have established there is no real hard distinction btw a distro and dotfiles. Like islands - they say Greenland is the largest island on earth but when you dig into geographical distinctions, there is no way of making that distinction. So it is with this, it’s a continuum and the border is blurry. So it is with all life, as well - what makes a species is, believe it or not, also a matter of deep debate in evolutionary biology.

10 points

What do you guys do with python scripts you use for yourself (eg as a user) that import packages ? Pipx does not work in this case.

Case in point: I wanted to try out anthropics LLM. They have the package on pip "anthropic", which I won't force install with pip. But it's not in the repos. If I indian it with pipx then it's not available for import in scripts either because pipx is just for installing python programs, not for installing packages for you to use.

What I do now is that in the Bash script, I include a cd into the project folder where my script is located and activate a virtual environment. This works bit it just seems... clumsy. Because I can see myself using anthropic in other scripts in other directories too. So best practice is to use virtual environment for all of them? This is just my personal scripts, is there really no safe way to install the package so it's available, not necessarily system wide but at least user wide?

I don't think the arch wiki is very clear here, which is odd because I should think it such a common scenario. Makes me wonder if there is some jargon about this that I just don't get or something.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.