Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"run code in-line" button is failing with a python error #810
I am using:
My program is:
When I run it in the debugger it works fine (see screenshot). When I select all the text and press the lightning button I get the below error message:
Screenshot of error message:
Hmm this working fine for me on Linux. Possibly this is Windows or Anacona specific. Most likely you need to be exposing an ENV var.
The real error of importance here is "Fatal Python error: Failed to initialize Windows random API (CryptoGen)".
This seems relevant: https://bugs.python.org/issue20614
Try setting SYSTEMROOT in Prefs > Environment. to find out what the value is supposed to be open a command prompt and execute
when I type: echo %SYSTEMROOT%
When I look at the Environment variables
Ahh, I did not communicate well. I did not change %SYSTEMROOT% or the Environment variables. They started out the same. They are still the same.
I tried upgrading from from python 3.4 to 3.5
If you want I will try switching away from anaconda python to the standard distribution and see if that fixes the issue.