Error extracting python virtual environment

68 views Asked by At

I have a venv for python 3.10 containing some packages. Whenever I want to extract it using tar -xf env.310.tar.gz the following errors will prevent running my docker script:

tar: 3.10/lib/terminfo: Cannot open: File exists
tar: 3.10/lib/python3.1: Cannot create symlink to 'python3.10': File exists
tar: Exiting with failure status due to previous errors

How can I tel tar to ignore the errors

0

There are 0 answers