Ask Your Question

Revision history [back]

What is the file /var/www/lingapps/assets/sage/socket.py doing there? My guess is that this file is messing things up: Python (via Sage) is trying to load a module socket which ought to be found in local/lib/python/socket.py, but it is loading this other file instead. Two suggestions: move that file out of the Sage directory (don't add anything to the Sage directory, in fact), and don't name your own files with the same names as standard Python modules.