Installing modules like pip, numpy, matplotlib, scipy, etc. in command prompt for windows operating system and in the terminal for ubuntu operating system
Pip for Python 3, use the following command in the command prompt (cmd) for windows and terminal for ubuntu:
For windows OS run following two commands one after the other in command prompt (cmd):
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
For ubuntu OS:
sudo apt-get update
sudo apt install python3-pip
To install NumPy use following command in the command prompt (cmd) for windows and terminal for ubuntu:
pip3 install numpy
or
pip install numpy
To install scipy use following command in the command prompt (cmd) for windows and terminal for ubuntu:
pip3 install scipy
or
pip install scipy
To install matplotlib use following command in the command prompt (cmd) for windows and terminal for ubuntu:
pip3 install matplotlib
or
pip install matplotlib
To install pandas use following command in the command prompt (cmd) for windows and terminal for ubuntu:
pip3 install pandas
or
pip install pandas
To install scikit-learn use following command in the command prompt (cmd) for windows and terminal for ubuntu:
pip3 install scikit-learn
or
pip install scikit-learn