Apparently python setup.py develop tries to re-install all scripts provided by plugins (maybe only under Windows?). Since that includes OctoPrint's own executable, things will explode with an access denied error there. Switching over to pip install -e . fixes that, and also is more conform with the install approach the plugin will take in production anyhow.