cktrack Posted July 29 Share Posted July 29 My Python scripts that are calling the following modules are returning a 500 error and a "End of script output before headers" message in the error log: import MySQLdb import html Please confirm these modules have been installed in my environment. Thanks! Quote Link to comment Share on other sites More sharing options...
Krydos Posted July 30 Share Posted July 30 Do your scripts support Python 2.7? Quote Link to comment Share on other sites More sharing options...
cktrack Posted July 30 Author Share Posted July 30 Not sure. I will work on debugging them as I go, unless 3.7 is going to become available soon. Quote Link to comment Share on other sites More sharing options...
Krydos Posted July 30 Share Posted July 30 9 hours ago, cktrack said: unless 3.7 is going to become available soon. There were quite a few issues, but I spent a few hours today getting Python 3.10 installed. There are a lot of people waiting for it before they move to Plesk. On 7/29/2022 at 10:38 AM, cktrack said: import MySQLdb import html These Python modules have been install on Python 3.10 which is located at /usr/bin/python3.10 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.