Search code examples
python-2.7spyder

Spyder in python will not run scripts


I have a very bizzare problem with the spyder editor for python 2.7

I cannot run some scripts, some run, some don't.

A script of no more than:

print "test"

Does not work in spyder, but runs in a windows console.

while the same script, but written on a different machine and transferred across via dropbox runs perfectly fine.

I am sorry that I can offer no more information, but there is none.

EDITED: screenshot added. enter image description here


Solution

  • Many thanks to the commentors on this question, but I have found the solution and post it here for any future users.

    The problem was simple, with a simple solution.

    The commodo antivirus that I have been running arbitrarily changed its own settings following an update, and began blocking all new scripts from running, without telling me the user.

    All I had to do to run the scripts was either disable commodo, or unblock each script.