I tried installing Flask and a few packages using sudo in a virtual environment, but on trying to import Flask, it\'ll throw up an ImportError. On installing the same packag
pip install
Will run pip install as the current user
sudo pip install
Will run pip install with the security privileges of another user, root for example. You normally need to use sudo to install a package on a system.
root
sudo
You may want to read linux-101-introduction-to-sudo