I'm new to Ubuntu, so please bear with me. I installed
pip using this command:
sudo apt-get -y install python-pip. Then I installed NLTK using the command on their website, which was:
sudo pip install -U nltk. But then I stumbled on this question that says that everything I did was a "broken practice". The line that struck me the most was that using
sudo pip is inherently wrong and that giving
pip too much force could damage operating system files. Can anyone validate this claim?
Note – I only used
sudo because when I tried the command
apt-get -y install python-pip it gave me 2 errors:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?