Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Running Ubuntu 10.04 LTS i had a testdrive with django from Sources. But now i want to change to latest django 1.6. So how to remove the older django 1.4.3?

I ask this after going thru the obvious steps because the following
python -c "import django; print(django.get_version())" reports still 1.4.3.

Not sure if this 1.4.3 was already an upgrade using a direct download...

So not sure to follow the path which
python -c "import sys; sys.path = sys.path[1:]; import django; print(django.__path__)" reports and delete this folder:
['/usr/lib/pymodules/python2.6/django']

share|improve this question
    
Note: /usr/lib/pymodules/python2.6/django is a link to /usr/local/lib/python2.6/dist-packages/django i now deleted this folder and test the result –  Ice Dec 10 '13 at 19:58
add comment

closed as off-topic by Braiam, Warren Hill, Eric Carvalho, Avinash Raj, Alvar Dec 19 '13 at 3:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Braiam, Warren Hill, Eric Carvalho, Avinash Raj, Alvar
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

NOTE: /usr/lib/pymodules/python2.6/django is a link to /usr/local/lib/python2.6/dist-packages/django

I deleted it now.
Was not sure if the process of removing really has to be done manually.

share|improve this answer
1  
What procedure? –  Braiam Dec 10 '13 at 20:25
    
@Braiam this one I think. I would move it here so, please let me know if not. –  Lucio Dec 10 '13 at 22:08
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.