Installation of SciPy and matplotlib (Python)

SciPy, a scientific calculation module for Python, Install the graphing module matplotlib. Use Homebrew.

If python is not included, first

brew install python

continue

brew install gfortran
pip install numpy
pip install scipy
pip install matplotlib

It seems that gfortran and numpy are required to install scipy. I get a lot of warnings, but ignore them

If you put python in brew, the location of pip is /usr/local/lib/python2.7/site-packages/ So, put it through PYTHONPATH. For Eclipse, go to Preferences PyDev → Interpreter --Python → new If you select /usr/local/Cellar/python/2.7.4/bin/python from browse, A list of places to pass PYTHONPATH will be displayed, so check all of them All you have to do is OK.

(Addition) It seems that easy_install has been abolished and pip has become standard equipment since the latest version (2.7.4). If you have an older version of python, please update.

Recommended Posts

Installation of SciPy and matplotlib (Python)
Installation of Python, SciPy, matplotlib (Windows)
Installation of matplotlib (Python 3.3.2)
Source installation and installation of Python
Installation of Visual studio code and installation of python
Installation of Python 3.3 rc1
Installation of Python3 and Flask [Environment construction summary]
Python installation and basic grammar
Python (Python 3.7.7) installation and basic grammar
[Python] Chapter 01-02 About Python (Execution and installation of development environment)
Environment construction of python and opencv
[Python] font family and font with matplotlib
[Python / matplotlib] Understand and use FuncAnimation
Perform isocurrent analysis of open channels with Python and matplotlib
Python installation
This and that of python properties
Installation and easy usage of pytest
Python installation
Coexistence of Python2 and 3 with CircleCI (1.0)
Summary of Python indexes and slices
Reputation of Python books and reference books
[Python] Implementation of Nelder–Mead method and saving of GIF images by matplotlib
[Python] Extension using inheritance of matplotlib (NavigationToolbar2TK)
Python installation and package management with pip
Extraction of tweet.js (json.loads and eval) (Python)
Connect a lot of Python or and and
Separation of design and data in matplotlib
Easy introduction of python3 series and OpenCV3
[Python] Various combinations of strings and values
[Python] Japanese localization of matplotlib on Ubuntu
Idempotent automation of Python and PyPI setup
Full understanding of Python threading and multiprocessing
Project Euler # 1 "Multiples of 3 and 5" in Python
Installation of Anaconda3
Introduction of Python
[Python] How to specify the window display position and size of matplotlib
Installation of CentOS 8
#Python basics (#matplotlib)
Python installation (Windows)
Basics of Python ①
Basics of python ①
Copy of python
My matplotlib (python)
Python installation 2020 (macOS)
Python3.4 installation notes
Introduction of Python
Install and run Python3.5 + NumPy + SciPy on Windows 10
Correspondence summary of array operation of ruby and python
Summary of the differences between PHP and Python
[Python] limit axis of 3D graph with Matplotlib
The answer of "1/2" is different between python2 and 3
Specifying the range of ruby and python arrays
[Python of Hikari-] Chapter 08-04 Module (Installation of external library)
Compare the speed of Python append and map
[Python] Chapter 02-01 Basics of Python programs (operations and variables)
Implementation of TRIE tree with Python and LOUDS
python development environment -use of pyenv and virtualenv-
Links and memos of Python character code strings
Code for checking the operation of Python Matplotlib
Comparison of R and Python writing (Euclidean algorithm)
I / O related summary of python and fortran