tp21 Posted yesterday at 05:21 PM Posted yesterday at 05:21 PM Good afternoon. After the recent account server move my python modules stopped working. Although I see that the files were imported into the file system I get an error when running them: Thus, I'm reaching to seek for support on sort this issue. The error is the following: Status: 500 Output: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</p> <p>More information about this error may be available in the server error log.</p> </body></html> Thank you. Quote
MoneyBroz Posted yesterday at 05:39 PM Posted yesterday at 05:39 PM The python modules would need to be reinstalled again, what modules do you need and what python version are you using 3.9 or 3.14? Quote
tp21 Posted 1 hour ago Author Posted 1 hour ago Thank you for the reply. I'm using python 3.12, Johnny Server. The modules being used are: datetime, json, sqlite3, requests, os, BeautifulSoup Quote
wolstech Posted 51 minutes ago Posted 51 minutes ago Johnny no longer has Python 3.12, which is part of the issue. It has 3.14 now. You'll need to update relevant shebang lines. https://johnny-info.heliohost.org/pyinfo/info3.14.py I'll assume you want these installed for 3.14. Datetime, json, and OS are built-in I believe. Requests is already present. Escalating to have the others installed: sqlite3, Beautifulsoup Quote
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.