Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accidently did system-wide install of flask and sqlalchemy

I accidentally did a system-wide install of flask and sqlalchemy. I "sudo pip install"ed both of them, and now I'm wondering how i can uninstall both of those off my system. I already have virtualenv all set up, so I don't want flask or sqlalchemy attached to my system. I read that having it directly installed can cause problems when working with different frameworks and different versions of a framework.

Is it a problem that I did a system-wide install of these packages?

enter image description here

like image 810
anc1revv Avatar asked Jun 03 '12 21:06

anc1revv


People also ask

How do I get rid of flask in Anaconda?

Open a terminal window. To uninstall, or remove, a package use the command '$PIP uninstall <package-name>'. This example will remove the flask package.

What is pip install flask SQLAlchemy?

Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks.

Where does pip get packages from?

By default, pip installs packages located in the Python Package Index (PyPI), but can also install from other indexes.


1 Answers

sudo pip uninstall flask should do the trick. And yes, having it installed globally can cause issues if you're working with different versions of other packages.

like image 107
shu zOMG chen Avatar answered Sep 30 '22 15:09

shu zOMG chen