Hacker News new | ask | show | jobs
by dapperdrake 330 days ago
For some reason copying a venv directory causes problems with internal links. Fun all around.
1 comments

The problem is twofold:

- all generated console scripts hardcode the path to python during creation for the shebang

- some of the binaries generated by install processes can link to absolute paths in the venv

Conda does quite a bit of work under the hood to reduce disk space and ran into related issues described here: https://docs.conda.io/projects/conda/en/stable/dev-guide/dee...