Until you install Anaconda for data analysis on your Mac and launch the IDE

environment

Mac OSX: 10.11.3 Python: 2.7.10(System) Pyenv: 20160202 Anaconda: 3-2.4.1 * Latest version as of March 27, 2016 Python: 3.5.1(Anaconda)

Install Pyenv

brew install pyenv

Pyenv settings

Add the following.

~/.bash_profile


export PATH="$HOME/.pyenv/shims:$PATH"

Install Anaconda

Check the Anaconda version that can be installed with the following command

pyenv install --list | grep anaconda

Then install the specified version with the following command

pyenv install anaconda3-2.4.1

Package installation

To install the package, use pip in Anaconda. Note that if you execute the pip command without specifying Anaconda's pip, you will not be able to use it because Python, which is used as standard, will be called and installed (unverified).

~/.pyenv/versions/anaconda3-2.4.1/bin/pip install [package name]

e.g.

~/.pyenv/versions/anaconda3-2.4.1/bin/pip install pulp
~/.pyenv/versions/anaconda3-2.4.1/bin/pip install ortoolpy

Launch the IDE

Anaconda launcher screen launch

When you install Anaconda, a shortcut will be created on your desktop, so double-clicking it will bring up the Anaconda launcher screen.

~/.pyenv/versions/anaconda3-2.4.1/Launcher.app

Start Spyder (IDE)

You can launch Spyder (IDE) by clicking "Launch" to the right of spyder on the Anaconda launcher screen.

Summary

I am very grateful that the environment for data analysis can be constructed so easily. In the future, I would like to use it for data collection, processing, analysis, optimization, etc. I would like to post those articles as well.

Recommended Posts

Until you install Anaconda for data analysis on your Mac and launch the IDE
Until you install Caffe and run the sample
Until you create an Ubuntu boot USB on your Macbook and install Ubuntu on your Thinkpad
Steps to install the latest Python on your Mac
Until you install Gauge and run the official sample
Install django on python + anaconda and start the server
Until you can install blender and run it with python for the time being
Install module on Anaconda (Mac)
Install numba on your Mac
Until you create Python Virtualenv on Windows and launch Jupyter
Install anaconda on Mac → Add Library
Build a Python environment on your Mac with Anaconda and PyCharm
Install Python 3.7 Anaconda on MAC, but Python 2
Install Anaconda on Mac and upload Jupyter (IPython) notebook to Anaconda Cloud
Until you install and run matplotlib
Until you install Apache and Tomcat on Linux (CentOS) and deploy Java apps
Description and summary of what you need to install Chainer on Mac
Snow on your Mac the old-fashioned way
Put Anaconda on your Mac using Pyenv
Install and launch k3s on Manjaro Linux
Until you install your own Python library
Install anaconda on a new Mac anyway
Until you install Arch Linux on VMware
Data Science Virtual Machines is the best environment for data analysis from now on!
Until you install Python with pythonbrew and run Flask on a WSGI server
Launch and use IPython notebook on the network
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Try importing MLB data on Mac and Python
Install Python and libraries for Python on MacOS Catalina
Until you run a Flask application on Google App Engine for the time being
Install procs, an alternative tool for ps, on Linux (also available on Mac and Windows)
Organizing basic procedures for data analysis and statistical processing (4)
Install Python3 on Mac and build environment [Definitive Edition]
I tried Python on Mac for the first time.
Install selenium on Mac and try it with python
[For beginners] Install the package in the Anaconda environment (Janome)
Organizing basic procedures for data analysis and statistical processing (2)
Compile and install MySQL-python for python2.7 on amazon linux
I tried to install scrapy on Anaconda and couldn't
Use Python to monitor Windows and Mac and collect information on the apps you are working on
With GitPod, you can use both IDE and jupyter on your iPad, so it's great!