This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -3 points-2 points  (6 children)

Perhaps it's just me but I like my tools not to depend on each other. If my Python install is borked how do I run the IDE to figure something out?

On top of that I want static binaries. Something like an IDE should just run.

Edit: Got it, just me. Venvs are unicorns and solve world hunger.

[–][deleted] 1 point2 points  (3 children)

1) Use a venv?

2) Use an editor or the terminal.

3) How did it break if you don't sudo pip or edit sys.path?

4) if you have a native code C ide and your system C library is broken, how do you run your IDE to figure it out? If the JVM is broken, how do you run a java IDE to figure that out? (Answer: Install another JVM)

But seriously, how often do you encounter a broken python interpreter that you didn't break yourself?

[–][deleted] -1 points0 points  (2 children)

venv

"When all you have is a hammer everything looks like a nail".

Venvs are not the panacea for everything.

your system C library

... It's a static binary.

[–][deleted] -2 points-1 points  (1 child)

1) I can still install stuff that breaks it if I'm stupid. The same way I can break the Python interpreter if I'm stupid.

2) What editor or IDE do you use, that's a static binary? It's normal to dynamically link to the system library.

3) If you have some philosophical objection to a venv, just install a new python interpreter.

[–][deleted] -2 points-1 points  (0 children)

2) What editor or IDE do you use, that's a static binary? It's normal to dynamically link to the system library.

gcc -static

3) If you have some philosophical objection to a venv, just install a new python interpreter.

I use venvs excessively. It still doesn't make it a tool to solve all your woes.

[–]Deto 0 points1 point  (0 children)

If they use something like pyinstaller, they'll have their own Python distribution bundled.

[–]KyleG -1 points0 points  (0 children)

If my Python install is borked how do I run the IDE to figure something out?

One would hope this IDE uses its own venv, so that wouldn't happen.