News for hackers. Stuff that matters.
Re:How Python virtual environments work by Havoc on Monday March 13, 2023 @02:34PM (#35140301)
These days I'm just throwing each project into a fresh LXC on a server.

All these different languages have their own approach and each then also user/global/multiple versions...it's just not worth figuring out

Re:How Python virtual environments work by spyremeown on Monday March 13, 2023 @02:43PM (#35140448)
Question: what makes you choose LXC over Docker?
Re:How Python virtual environments work by wyufro on Monday March 13, 2023 @04:20PM (#35141920)
IMO, while their use cases do overlap, LXC is more geared towards a user installing things while Docker is more geared towards a developer creating a ready to use package.

LXC creates environments, while Docker creates apps, is another way to say it.

Re:How Python virtual environments work by Havoc on Monday March 13, 2023 @05:57PM (#35143506)
Much of a sameness really but I prefer the more persistent disk style of lxc plus ssh plus vscode ssh remote extension.

Depends on task though I've got dockers and VMs in use too

Re:How Python virtual environments work by bagels on Monday March 13, 2023 @03:28PM (#35141138)
Same, but with Docker. I don't like conda, was fine with virtualenv, but using docker there's only one python and you can just pip install and not worry about multiple environments.