Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
smaddox
· 2y ago · 0 comments
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.
Comments
[–]
usrme
2y ago
That's really unexpected! I'd default to the assumption that it would "just work" if all the dependencies are already met.
[–]
BiteCode_dev
2y ago
`--offline` :)
[–]
chippiewill
2y ago
Except you can't put that in the shebang for the first run
[–]
BiteCode_dev
2y ago
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.