# cant get python script to run in windows 8

**URL:** <https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222>\
**Category:** Apps & Creations\
**Created:** [March 19, 2015, 4:56am UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222 "2015-03-19T04:56:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfeenstra](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@gfeenstra](https://forums.plex.tv/u/gfeenstra)\
**Post date:** [March 19, 2015, 4:56am UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/1 "2015-03-19T04:56:44Z")

</div>

Hi all

&nbsp;

I have searched but couldn't find the answer.

&nbsp;

I am testing some new hardware and running Win8 Enterprise Evaluation and can't get this working.

&nbsp;

I followed the guide (3 times).&nbsp; Installed latest python 2.7.x. I was able to create the certificates.

&nbsp;

Unzipped plexconnect-master to c:\programfiles

&nbsp;

When I double click on the plexconnect.py file I see a quick terminal window doing something but it is too quick to read.

&nbsp;

It than disappears and doesn't seem to be running.

&nbsp;

Any ideas?

&nbsp;

Thanks :)

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [March 19, 2015, 7:25am UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/2 "2015-03-19T07:25:35Z")

</div>

start a command prompt

run it from there to see what the error is.&nbsp; Possibly permissions on the Programfiles directory

---

<div class="post-metadata">

**Author:** ![gfeenstra](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@gfeenstra](https://forums.plex.tv/u/gfeenstra)\
**Post date:** [March 19, 2015, 2:23pm UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/3 "2015-03-19T14:23:02Z")

</div>

thanks!

I ran it from cmd and you are right it appears to be a permission error&nbsp;

permission denied for the settings.cfg file

do I just need to change the settings for that file?

and can I change permissions from the properties?

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [March 19, 2015, 3:00pm UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/4 "2015-03-19T15:00:43Z")

</div>

You could possibly run command prompt as administrator then launch the PlexConnect.py file or you may need to fix permissions as @drewbie said on the entire folder and sub folders so all the files can fire allowing PlexConnect to run all the required files so it can run.

---

<div class="post-metadata">

**Author:** ![roidy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/roidy/32/128627_2.png) [@roidy](https://forums.plex.tv/u/roidy)\
**Post date:** [March 19, 2015, 3:03pm UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/5 "2015-03-19T15:03:20Z")

</div>

Open the command prompt as administrator, do this by right clicking on the icon and select “Run as Administrator”.

---

<div class="post-metadata">

**Author:** ![gfeenstra](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@gfeenstra](https://forums.plex.tv/u/gfeenstra)\
**Post date:** [March 19, 2015, 4:44pm UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/6 "2015-03-19T16:44:04Z")

</div>

Ok. I was able to change permissions for the folder and have it running now. But I get the error ‘cannot connect to trailers’ . Other apps like Netflix are working ok though

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [March 19, 2015, 4:47pm UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/7 "2015-03-19T16:47:01Z")

</div>

Have you followed this guide:

[Install-Guide](https://github.com/iBaa/PlexConnect/wiki/Install-Guide)

If yes and installed certs and rebooted aTV after loading certs then please use this template and fill it out completely if it still doesn't work:

[issue report](https://github.com/iBaa/PlexConnect/wiki/How-to-report-an-issue)

---

<div class="post-metadata">

**Author:** ![gfeenstra](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@gfeenstra](https://forums.plex.tv/u/gfeenstra)\
**Post date:** [March 20, 2015, 6:12am UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/8 "2015-03-20T06:12:11Z")

</div>

I followed the guide but missed the install certificate on atv part. I remember doin it last time but didn’t see it in the guide this time and just ended up googling it.   
  
  
Now it’s working great!  
  
  
Thanks everyone

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 6:54pm UTC](https://forums.plex.tv/t/cant-get-python-script-to-run-in-windows-8/97222/9 "2020-01-08T18:54:45Z")

</div>


