no python frame

Mark Hwang 46 Reputation points
2021-08-23T01:07:48.927+00:00

I am trying to run a simple hello world python file but am getting a "no Python frame" error.

Here is my executable:

C:\Users\hwang1m\AppData\Local\Programs\Python\Python38\python.exe %s %s

125386-2.gif

Windows development Internet Information Services
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2021-08-24T07:54:10.51+00:00

    @Mark Hwang

    This should be a problem with your Python configuration on iis, you can refer to the link below about how to configure python on iis:

    configure-web-apps-for-iis-windows.
    installing-python-on-iis.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mark Hwang 46 Reputation points
    2021-08-24T18:30:20.677+00:00

    I followed the second link's example to create an app, run the 2 icacls commands to grant access to IIS and now is back to 401.3 error again. The Anonymous User Identify is set to application pool identity. I tried changing it to IUSR and it got the same error.

    126109-3.gif


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.