Closed turukawa closed 3 years ago
[Copied from original issue.] Solved this, for anyone else experiencing a similar problem. It's a configuration problem in WSL, and the fix is explained here:
Create (or edit) your /etc/wsl.conf to match the following:
[automount]
enabled = true
options = "metadata,uid=1000,gid=1000,umask=0022,fmask=11,case=off"
mountFsTab = false
crossDistro = true
[filesystem]
umask = 0022
[network]
generateHosts = true
generateResolvConf = true
[interop]
enabled = true
appendWindowsPath = true
Then restart WSL, and shutil
will work as expected.
For notes:
Poetry seems to conflict with WSL and shutil: https://github.com/python-poetry/poetry/issues/3613 Poetry also seems to conflict with ReadTheDocs: https://github.com/earthobservations/wetterdienst
At this stage, I'm waiting on ReadTheDocs to support Python 3.9, and Poetry to fix their response to shutil. If neither happens, may need to revert to
pip
.