We can use modules to group related codes. To upgrade the pip version on OS X, type pip install -upgrade pip on the command line.Ī module is simply a python file full of functions, classes, and variables like all python files, it has the.On Windows, all of your Python packages can be found in the directory of C:\Anaconda2\Lib\site-packages if you use the default path when you install Anaconda.To upgrade the pip version on Windows, type python -m pip install -upgrade pip on the command line.This will install seaborn on your machine. # In the command line, type pip install seabornĬ:\Users\your_username\Documents\Python Scripts>pip install seaborn Here we install the Python package seaborn as an example. You should see the Command Window appear in the bottom right of your screen. How to install libraries / packages / modules?įirst open Spyder and click Tools -> Open command prompt. To search a package: pip search "package" To upgrade a package: pip install -upgrade package OR pip install -U package To uninstall a package: pip uninstall package To install a package: pip install package It is included in the installation of Anaconda. Pip is a package management system used to install and manage Python packages. Install libraries, packages, and modules within Spyder - (0:50).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |