Installing Python 3 Modules

Installing Python 3 Modules

Python 3 has a source for additional packages at the Python Package Index.  You manage your packages using the pip3 program.  Best practices require that you maintain your Python packages in your user file space, not in the operating systems space.  (You may want to add ~/.local/bin to your PATH.)  So, make sure you are logged in as yourself, not root, and type this command

pip3 install scipy pandas ipython scikit-learn --user

The –user option tells pip3 to put the packages in your user file space under the .local directory. These packages are likely to be useful later.