Python 3.11
71–80 of 156 posts
Re: Python 3.11
#72Earlier quoted context omitted.
4 hours? Yeesh. Here's how to do it in 5-10 minutes. Use pyenv to install any python version and pyenv-virtualenv to manage virutal environments. https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv-virtualenv
For me, pyenv on Mac is about 15 minute compile time with a bunch of environment variables required to make sure tkinter works properly.
brew install pyenvRe: Python 3.11
#73just spent about 4 hrs getting Python 2 and pip setup on my Mac. Any time I have the misfortune of needing to use python I get cold sweats at the thought of the environment stuff. Why is this still such a massive problem?
Please enough of this. Trying spending 2 minutes googling it. Hint: pyenv
I’d almost guarantee there was something simple I was missing but for someone not familiar with the ecosystem getting python set up to do more than just hello world is a shitshow.
Re: Python 3.11
#74Python is deceptive. They lure you in with its simplicity, and then one day you want to deploy your software and you realize that it's more complicated than any other programming language ever conceived of.
Re: Python 3.11
#75Python is deceptive. They lure you in with its simplicity, and then one day you want to deploy your software and you realize that it's more complicated than any other programming language ever conceived of.
Re: Python 3.11
#76Python is deceptive. They lure you in with its simplicity, and then one day you want to deploy your software and you realize that it's more complicated than any other programming language ever conceived of.
Because of dependency management, or?
If on the other hand you're trying to deploy a desktop app, that is an entirely different kettle of 'fun'.
Re: Python 3.11
#77Python is deceptive. They lure you in with its simplicity, and then one day you want to deploy your software and you realize that it's more complicated than any other programming language ever conceived of.
[^1]: https://xkcd.com/1987/
Re: Python 3.11
#78Earlier quoted context omitted.
Because of dependency management, or?
Because of having to know what WSGI and ASGI are and picking the right one. Then pick which implementation of the above you want to use. Then configuring it correctly for your app. And finally make it play nicely with nginx/apache/whatever. If on the other hand you're trying to deploy a desktop app, that is an entirely different kettle of 'fun'.
Re: Python 3.11
#79Python is deceptive. They lure you in with its simplicity, and then one day you want to deploy your software and you realize that it's more complicated than any other programming language ever conceived of.
Re: Python 3.11
#80Python is deceptive. They lure you in with its simplicity, and then one day you want to deploy your software and you realize that it's more complicated than any other programming language ever conceived of.