Jump to content

[Solved] Python modules not working after server move


Recommended Posts

Posted

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.

 

Posted

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?

Posted

Thank you for the reply. I'm using python 3.12, Johnny Server.
The modules being used are:  datetime, json, sqlite3, requests, os, BeautifulSoup

Posted
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

  • Thanks 1
  • Krydos changed the title to [Solved] Python modules not working after server move

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...