Yeah, I've done that, removed python, reinstalled it etc. i was then having a problem with apache not recognising the WSGIScriptAlias directive in my httpd.conf file. I fixed that by manually creating two symlinks in the apache config, which seemed an iffy thing to do to me, but it worked (if progressing to a different error message can be called working).

The error message I'm now getting is "ImportError: cannot import name MAXREPEAT" in my var/log/apache2/error.log, of which the internet says (http://stackoverflow.com/questions/17190845/mod-wsgi-python-2-7-5-import-error):

> There is still possibly something wrong with your setup. You should go through the checks in code.google.com/p/modwsgi/wiki/CheckingYourInstallation to verify which Python library mod_wsgi.so is linked against. Looks like you are mixing Python installations, which is bad.


So I still think i have issues with the wrong version of python.

What I am contemplating doing next is:

1. saving all my own files
2. wiping the VPS, setting it up to a claen ubuntu 12.04
3. updating all the packages
4. putting my files back on it

and seeing if that works.

Do people think that's a sensible way to proceed?

(On a wider note, how to avoid these sorts of problems in the future? Is docker the way to go? Heroku?)




On 25 February 2014 14:18, Robert McWilliam <rmcw@allmail.net> wrote:
On Tue, Feb 25, 2014, at 01:57 PM, Philip Hunt wrote:
You may well be right. However I've just started aptitude and it seems hard to use. Or at least, I can't figure out how to use it.
 
If you call aptitude with the same arguments you would apt-get it should do much the same (but with different logic for what to do when things don't go as smoothly as you'd hope).
 
Robert
--
 
Instructions should be read first, or not at all.
Anything else is admitting defeat...

_______________________________________________
users mailing list
users@lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users




--
Phil Hunt, <cabalamat@gmail.com>