Ancestors

Written by Phil Landmeier on 2024-12-25 at 05:40

So Linux always has 26 different ways to do everything. (That's not a complaint.)

Having not worked in a "Linux shop" where programmers readily exchange tips and tricks, I've done Linux for the past 21 years by myself. And I continue to wonder what is the best way to do this simple thing? So I thought I'd throw this out here.

On a Raspberry Pi I have both Python 2 and Python 3 installed. For years I've only used Python 3. But the default command "python" runs Python 2. For Python 3 I have to use python3.

To reverse this situation I can create aliases in .bashrc. Is that the easiest / best way?

=> More informations about this toot | More toots from shuttersparks@qoto.org

Written by Muro deGrizeco :toad: on 2024-12-25 at 07:10

@shuttersparks

Python virtual environments can be useful.

=> More informations about this toot | More toots from murodegrizeco@toad.social

Toot

Written by Phil Landmeier on 2024-12-25 at 14:58

@murodegrizeco I'll look into that. Thank you.

=> More informations about this toot | More toots from shuttersparks@qoto.org

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113714050407806847
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
263.747905 milliseconds
Gemini-to-HTML Time
0.718936 milliseconds

This content has been proxied by September (3851b).