tp21 Posted Sunday at 05:21 PM Posted Sunday 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 Sunday at 05:39 PM Posted Sunday 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 16 hours ago Author Posted 16 hours 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 16 hours ago Posted 16 hours 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 1 Quote
Krydos Posted 10 hours ago Posted 10 hours ago 6 hours ago, wolstech said: Datetime, json, and OS are built-in I believe. Correct. 6 hours ago, wolstech said: Escalating to have the others installed: sqlite3 SQLite3 is actually built into every Python 3.14 by default too, but we recommend using MariaDB or PostgreSQL because they're easier to get working, and better performance. 6 hours ago, wolstech said: Beautifulsoup This module is really ancient and doesn't even work with Python 3.0. For Python 3.14 I installed Beautifulsoup4 instead. You can see the current list of installed modules for Johnny's Python 3.14 at https://johnny-info.heliohost.org/pyinfo/info3.14.py 1 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.