3 ms·
For some reason copying a venv directory causes problems with internal links. Fun all around.
by dapperdrake 1y ago
For some reason copying a venv directory causes problems with internal links. Fun all around.
- EnnEmmEss 1y agoThe 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/deep-dives/install.html#linking-the-files-in-the-environment https://docs.conda.io/projects/conda/en/stable/dev-guide/dee...