5 ms·
I've long freed myself from the exhausting pipenv/virtualenv/pienv/conda rat-race by using docker. The only downside is some annoying IDEs refuse to acknowledge
by avip 8y ago
I've long freed myself from the exhausting pipenv/virtualenv/pienv/conda rat-race by using docker. The only downside is some annoying IDEs refuse to acknowledge the existence of interpreter in a container.
- black-tea 8y agoWhy is it a rat race? I've been using pyenv+virtualenv to isolate project environments for years now and it works just fine.
- holografix 8y agocan you get VSC code completion to use a python interpreter in a Docker container?
- avip 8y agoI can't! In fact that was my main motivation in posting that, maybe a wiser HNer will enlighten me.
- holografix 8y agoDamn was hoping something had changed in the last 6 months when I had a look! :-)
- diminoten 8y agoPyCharm can!
- chatmasta 8y agoI don’t use VSC, but assuming the interpreter is just a path to an executable file, you could just pass it a script that calls, eg ‘exec docker run -it python’.
- sadris 8y agoHow?