views:

362

answers:

1

I installed Django via Macports. I wasted a lot of time on making it work.

It still does not work. I would like to COMPLETELY uninstall Django (Macports) and install with the easy install (DJANGO). I would like to keep Macports and not uninstall it, because I read it SHOULD be useful.

How can I achieve this?

Thank you for your attention.

+3  A: 

Did you try port -f uninstall <port>?

If you want to uninstall everything that you've installed with MacPorts you could run:

port -f uninstall installed

You should be running these commands as the root user, so either use sudo or su root before the commands.

sudo port -f uninstall <port>

Depending on what you actually installed, <port> is any of

py-django
py25-django
py26-django

You can find out with

port list installed | grep django
digitaldreamer
Thanks a million. What would the "<port>" be. Sorry if that is obvious, but I at this point dont understand Macports and what ports it refers to. thanks
MacPython
<port> is the name of the port e.g. port -f uninstall py26-django
Mark
You are the master!Thanks a million. I will now try to reinstall with easy install.Thanks again
MacPython
Worked! Fantastic!
MacPython
@MacPython - if this answer worked for you, then mark it as accepted by clicking the tick to the left of this post.
Dominic Rodger