Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2818

WSL on win11 - Permission denied running python script

$
0
0

I am trying to run a python script that creates a file.when running I get :

File "/home/ashi/.pyenv/versions/3.8.5/lib/python3.8/os.py", line 223, in makedirs    mkdir(name, mode)PermissionError: [Errno 13] Permission denied:"/Users"

I'm running Ubuntu 20.04 using WSL on win11. I installed python using pyenv.I have tried all the chmod commands, and tried from root user.

Thanks


Viewing all articles
Browse latest Browse all 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>