this post was submitted on 08 Jul 2023
19 points (100.0% liked)

Python

6343 readers
11 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] CodeBlooded@programming.dev 3 points 1 year ago (12 children)

As an alternative to having to clean your Python environments, I’d like to suggest putting those efforts into mastering Docker. If you can master using Docker containers as your Python environment, you can cut through a lot of the pains regarding dealing with virtual environments, multiple Python installations, and the quasi-confusing PYTHONPATH environment variable.

I don’t even install Python on my machines anymore. I’m 100% “dockerized” and I’ll never go back.

[–] G0FuckThyself@lemmy.world 2 points 1 year ago (2 children)

I have started to learn Docker recently and i might do this in future.

[–] CodeBlooded@programming.dev 1 points 1 year ago (1 children)

You won’t regret it- Docker is great for development and deployment. It’s definitely a desirable skill to have on your resume.

[–] EngineerDaryl@fosstodon.org 2 points 1 year ago

@CodeBlooded @G0FuckThyself yeah I really want to do this as well at my job so I can develop and test for the correct Python version (my laptop runs a newer version then our Production environment), but the laptop is wayyyy too slow to do that. But, I will get a new laptop soon, so who knows

load more comments (9 replies)