Getting python to work, Internal Server Error

后端 未结 12 1583
無奈伤痛
無奈伤痛 2021-02-08 11:07

I\'m trying to get Python scripts, called from a web browser, to work. I keep getting the error:

500 Internal Server Error

When I check my err

12条回答
  •  渐次进展
    2021-02-08 11:58

    This ended up being a dos2unix issue for me. Ran dos2unix test.py test.py and it worked. The \r\n combinations were the problem. Had to yum install dos2unix to get it installed.

提交回复
热议问题