Ask Your Question
0

Why does 'pip install askbot' uninstall Django?

asked 2015-03-02 17:03:49 -0600

dccarson gravatar image

I have our deployed version of AskBot running on a CentOS 6 system. It is running 0.7.49.

I noticed that pip has a newer version. I am installing on another server that also has Django running, where I can play with the newer AskBot. This second server is running CentOS 7 and Django 1.6.10. (Note that I used yum to install everything on the CentOS 7 server -- no pip.)

To my horror, the pip install askbot command removed Django from the system without even asking me. This server was running other Django applications!

Is there some way I could have avoided this? Should I have known that this was a risk?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-02 18:31:45 -0600

Evgeny gravatar image

The solution is to install using "virtualenv". This way requirements of Askbot can be satisfied without interfering with the system-wide python installation.

edit flag offensive delete link more

Comments

OK, I will try that. But is there some reason the askbot installation could not have used the Django I had installed, which is newer than what askbot requires?

dccarson gravatar imagedccarson ( 2015-03-03 10:42:02 -0600 )edit

Askbot 0.7.51 supports 1.5 the latest

Evgeny gravatar imageEvgeny ( 2015-03-03 10:58:17 -0600 )edit

CentOS 7 shows 1.6.10: `rpm -q python-django` yields `python-django-1.6.10-1.el7.noarch`

dccarson gravatar imagedccarson ( 2015-03-03 13:28:14 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-03-02 17:03:49 -0600

Seen: 608 times

Last updated: Mar 02 '15