I'm trying to build a bdist package of my python app but the command python3 setup.py bdist_wheel
fails with error Errno 13: Permission Denied
when is launched from a subfolder of /mnt/c/
.
The same command (with the same set of sources) launched from a subfolder of /home/<username>
succeeds.
This happens only for the bdist_wheel
parameter; with the sdist
parameter all goes fine.
Any idea?
-
Did you find any solution ? I'm facing the same issue here– Loul G.Jun 5, 2019 at 9:03
-
Running into the same issue - anyone have an idea why this happens?– AlexanderDec 5, 2020 at 15:36
Add a comment
|
2 Answers
I had it pass by specifying a temporary directory that is not under /mnt/c.
One can use the following:
python3 setup.py bdist_wheel --bdist-dir ~/temp/bdistwheel
Turns out the answer was already out there: https://github.com/pypa/packaging-problems/issues/258#issuecomment-514934944
The issue is resolved by granting "Full control" to "Authenticated Users" in the Windows File settings for the folder that one is trying to work on through WSL.