Follow

went to install python on ubuntu and was punked by my former self

@darius im working on a project for a client that was originally written in python (its a compiler that generates python) but python package management between linux and windows proved so &@^&* intractable it was just easier to learn rust and rewrite the whole thing. now we have a horrifyingly fast compiler. computers were a mistake but python is particularly awful.

@nasser @darius *looks at her piles and piles of ruby*

:blob_grimace:

at least python has pipx

And if we're talking compilers, nothing seems to beat PyPy

@meena @darius in rust i can build a self-contained windows executable on my linux machine and send it to my client, who can run it with no questions asked, no installing anything external, no juggling environments...

@darius @nasser @meena I’ve had the exact same experience with python, back when it happened I decided to rewrite in go. These days I’d definitely use rust tho (:

@darius I once found someone with my exact problem with installing an OS on a forum after hours of searching only to discover the question was posted by myself like 8 years earlier with no valid answer…

@darius I use pyenv for this. A really nice tool that manages python versions and virtual environments locally. All it needs is system dependencies to build python.

https://github.com/pyenv/pyenv

@avolkov @darius Consider this a second recommendation of pyenv! I would recommend using their automated installer though - I tried to do it manually and definitely fucked my shit up before I blew everything away and used the automated installer.

@reed @avolkov I have definitely run into major issues with pyenv, mostly because I don't understand anything about python -- I'm always installing python as dependency for something else. I imagine if I understood python better, then using pyenv would be easy for me like using nvm is for node. As it stands I've found pyenv weird and confusing because I lack necessary mental models

@darius @avolkov Yeah, exactly how it works is a bit of a mystery to me still - but I work at a python job so I needed to use it and eventually worked it out.

@darius It's the exact reverse for me :D Whenever i use node/npm, I run into fantastic issues and I have no idea what's going and it's frustrating, so I go back to Python where everything runs as I expect it.

So yes, I guess it's a matter of understand and familiarity with that particular ecosystem ;)

Sign in to participate in the conversation
Friend Camp

Hometown is adapted from Mastodon, a decentralized social network with no ads, no corporate surveillance, and ethical design.