PyCharm PY-192.7142.42 - gets permissions error when debugging script, on Windows 10

I've created a debug configuration in Pycharm to I can debug a script. When I click the debug icon,

<class 'tuple'>: (<class 'PermissionError'>, PermissionError(13, 'Permission denied'), <traceback object at 0x000002F8A88D5CC8>)

is displayed in PyCharm.

 

I'm a User with administrative rights on this Windows 10 machine, but  I'm ALSO explicitly running PyCharm as an Administrator too.

I'm running in an Anaconda virtual environment, Python 3.7.3

conda info

active environment : py37sci
active env location : C:\ProgramData\Anaconda3\envs\py37sci
shell level : 1
user config file : C:\Users\MyUserName\.condarc
populated config files : C:\Users\MyUserName\.condarc
conda version : 4.7.10
conda-build version : 3.18.8
python version : 3.7.3.final.0
virtual packages :
base environment : C:\ProgramData\Anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\ProgramData\Anaconda3\pkgs
C:\Users\MyUserName\.conda\pkgs
C:\Users\MyUserName\AppData\Local\conda\conda\pkgs
envs directories : C:\ProgramData\Anaconda3\envs
C:\Users\MyUserName\.conda\envs
C:\Users\MyUserName\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
administrator : True
netrc file : None
offline mode : False

 

Please sign in to leave a comment.