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 :
virtual packages :
base environment : C:\ProgramData\Anaconda3 (writable)
channel URLs :
package cache : C:\ProgramData\Anaconda3\pkgs
envs directories : C:\ProgramData\Anaconda3\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.