Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin
Learning my lesson that Python virtual environments aren't always movable (utcc.utoronto.ca)
2 points by ingve 7 days ago | hide | past | favorite | 1 comment
 help



When it comes to venv-related stuff I feel like Chris Siebenmann has been gradually independently discovering things that are fairly well known in the right circles.

A properly relocatable venv would require redesigning up front, along with cooperation from installers (i.e. they need to not put un-relocatable stuff into the venv; specifically, by not hard-coding the venv's Python symlink's path into generated wrapper scripts). (Or a relocation tool could perhaps fix the wrappers.)

I actually do have some designs for this. It definitely should be possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: