Hacker News new | ask | show | jobs
by smaddox 568 days ago
I've been using this for a few weeks now, and it's really handy. But I did learn the hard way that it fails if you don't have internet connection, even if you already have the venv cached.
2 comments

That's really unexpected! I'd default to the assumption that it would "just work" if all the dependencies are already met.
`--offline` :)
Except you can't put that in the shebang for the first run
True, for servers you can't warm up, shiv is your best bet: https://shiv.readthedocs.io/

Or points to your own private pypi instance with --index-url.