PDF download Download Article
Ultimate guide to installing the open source scientific library for Python
PDF download Download Article

This wikiHow teaches you how to install the main SciPy packages from the SciPy library, using Windows, Mac or Linux. SciPy is a free and open-source Python library with packages optimized and developed for scientific and technical computing. If you have Python installed, you can use Python's standard pip package manager, and install it from the Python Package index. On some Linux distributions, you can use your system's native package manager to perform a system-wide installation.

Ways to Install SciPy

To install SciPy, you can use the Python Package Index (also called pip) by typing pip install scipy in the Command Prompt. You can also use a system-wide installation command for your Linux distro and run it in the Terminal (commands vary by distro).

Method 1
Method 1 of 2:

Using the Python Package Index

PDF download Download Article
  1. Type or paste https://www.scipy.org/ into the address bar, and press Enter or Return on your keyboard.
  2. This button looks like a downward green arrow on the blue-and-white SciPy icon. You can find it near the upper-left corner of the page.
    • This will open the SciPy installation details on a new page.
    Advertisement
  3. SciPy is an open-source Python library, and requires a basic Python distribution installed on your system.
    • If you don't have Python installed, you can select one of the recommended distributions under the "Scientific Python Distributions" heading, and install it to your computer.
    • If you're not sure how to install Python, make sure to check out this article for detailed instructions on installing the core packages.
  4. You can open the Command Prompt on Windows, Terminal on Mac, or your distribution's Terminal on Linux.
  5. This command will make sure the latest pip files are installed on your system to handle package managing tasks.
    • Press Enter or Return to run the command.
  6. This will use the Python Package index, and install the core SciPy packages on your computer.
    • You can also install other core packages like Numpy and Matplotlib by using the pip install numpy and pip install matplotlib commands.
  7. Advertisement
Method 2
Method 2 of 2:

Using Linux Repositories

PDF download Download Article
  1. Type or paste https://www.scipy.org/ into the address bar, and press Enter or Return on your keyboard.
    • Using Linux repositories will perform a system-wide installation, but these files may have older package versions than the Python Package index used with the pip tool.
  2. This button looks like a downward green arrow on the blue-and-white SciPy icon. It's near the upper-left corner of the page.
  3. You can find separate commands for Ubuntu (and Debian-based) systems and Fedora under the "Install system-wide via a Linux package manager" heading.
    • For example, you can use the sudo apt-get install python-scipy command on Ubuntu-Debian, and sudo dnf install scipy on Fedora.
    • You can include multiple packages like Numpy, Matplotlib, and Pandas in your installation.
    • System-wide installation is also available if you're using a Mac with a third-party package manager. You can find Macport and Homebrew commands on the Install page if you're using either of these package managers.
  4. Depending on your system and desktop environment, you can find it on the Dash menu on the top-left (Ubuntu-Debian), or under Accessories (Fedora with Gnome).
    • Alternatively, press Ctrl+Alt+T (Ubuntu-Debian) or Ctrl+Alt+F1 (Fedora) to open a Terminal window.
  5. This will install SciPy via your system's native (or third-party) package manager.
  6. Advertisement


Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Update Pip Upgrade Pip: Quick Guide for Beginners & Experts
Install Pip on Mac3 Easy Ways to Download & Install Pip on Your Mac
Install PythonInstall Python
Install Python on WindowsInstall Python on Windows
Install Software in UbuntuUbuntu Software Installation: The Complete Beginner's Guide
Install Ubuntu Packages Install Packages on Ubuntu Linux: Command Line & GUI Tools
Install Opencv in Anaconda Install OpenCV in Anaconda
Open a Python FileOpen a Python File
Install Software on Linux Install Software on Linux: Packages, Compiling, & More
Pip Uninstall Package Uninstall a Python Package With Pip: Step-by-Step Guide
Install LatexInstall Latex
Install Software in Debian LinuxInstall Software in Debian Linux
Check Python Version on PC or Mac See the Python Version on Mac, Windows, and Linux
Start Programming in PythonStart Programming in Python
Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 85,692 times.
How helpful is this?
Co-authors: 2
Updated: December 2, 2024
Views: 85,692
Thanks to all authors for creating a page that has been read 85,692 times.

Is this article up to date?

Advertisement