Build a Python extension for E-Cell 4 on Mac OSX (Yosemite)

** The following information is outdated. Please refer to here for the latest information. ** **

  1. Install brew.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update


 1. Install git and download the source of ecell4. If necessary, create an ssh key such as `` `ssh-keygen -t rsa -C hoge` `` and register it in your github account. You can also use `` `git clone https://github.com/ecell/ecell4.git```.

    ```bash
brew install git
git clone [email protected]:ecell/ecell4.git
cd ecell4
  1. Install the libraries needed for the build.

brew install gsl brew install cmake brew install boost brew tap homebrew/science brew install hdf5 curl -O https://bootstrap.pypa.io/get-pip.py sudo python get-pip.py sudo pip install "ipython[notebook]" sudo pip install cython


 1. Pass the path of the installed library.

    ```bash
export CPLUS_INCLUDE_PATH=/usr/local/Cellar/boost/1.58.0/include:/usr/local/Cellar/gsl/1.16/include:/usr/local/Cellar/hdf5/1.8.14/include:$CPLUS_INCLUDE_PATH
export LIBRARY_PATH=/usr/local/Cellar/boost/1.58.0/lib:/usr/local/Cellar/gsl/1.16/lib:/usr/local/Cellar/hdf5/1.8.14/lib:$LIBRARY_PATH
export DYLD_LIBRARY_PATH=/usr/local/Cellar/boost/1.58.0/lib:/usr/local/Cellar/gsl/1.16/lib:/usr/local/Cellar/hdf5/1.8.14/lib:$DYLD_LIBRARY_PATH
# export LD_LIBRARY_PATH=/usr/local/Cellar/boost/1.58.0/lib:/usr/local/Cellar/gsl/1.16/lib:/usr/local/Cellar/hdf5/1.8.14/lib:$LD_LIBRARY_PATH
  1. Finally,

./install.sh py2


 By the way, it seems that only the table of ʻegfrd` can be generated by doing the following in the place where you normally `make`.

    ```bash
make BesselTables

Recommended Posts

Build a Python extension for E-Cell 4 on Mac OSX (Yosemite)
Build a Python extension for E-Cell 4 on Windows 7 (64bit)
Build a Python environment on Mac (Mountain Lion)
Build a Python development environment on your Mac
Build a local development environment for Laravel6.X on Mac
Build a machine learning Python environment on Mac OS
Build a Python development environment on Mac OS X
Build a Python environment on your Mac using pyenv
Building a Python environment on Mac
Create a Python environment on Mac (2017/4)
Build a python data analysis environment on Mac (El Capitan)
Build a python3 environment on CentOS7
Create a virtual environment for python on mac [Very easy]
Build a python environment on CentOS 7.7 for your home server
Build a Python environment on your Mac with Anaconda and PyCharm
Python 2.7, 3.4, 3.5 extension module build environment on Windows
Build a python environment on MacOS (Catallina)
[Mac] Building a virtual environment for Python
Build Python environment with Anaconda on Mac
Build a Python + OpenCV environment on Cloud9
python on mac
Things to watch out for when creating a Python environment on a Mac
Build a version control environment for Python, Ruby, Perl, Node.js on UNIX
A python script for Mac that zips without garbled characters on Windows
Simply build a Python 3 execution environment on Windows
Build a python environment with ansible on centos6
A memorandum for touching python Flask on heroku
Put Python 2.7.x on Mac OSX 10.15.5 with pyenv
Build a Kubernetes environment for development on Ubuntu
Build a Python environment with OSX El capitan
Build a Python development environment on Raspberry Pi
How to build an environment for using multiple versions of Python on Mac
Install Python on Mac
Install Python 3 on Mac
build Python on Ubuntu
Install Python 3.4 on Mac
Build a GVim-based Python development environment on Windows 10 (3) GVim8.0 & Python3.6
Install Python3 on Mac and build environment [Definitive Edition]
Build a Django development environment using pyenv-virtualenv on Mac
I tried Python on Mac for the first time.
# 2 Build a Python environment on AWS EC2 instance (ubuntu18.04)
Build a python environment for each directory with pyenv-virtualenv
Build a GVim-based Python development environment on Windows 10 (1) Installation
Procedure for building a CDK environment on Windows (Python)
How to build a development environment for TensorFlow (1.0.0) (Mac)
Build a Python development environment using pyenv on MacOS
Building a Python environment for programming beginners (Mac OS)
How to build a Python environment on amazon linux 2
How to build a beautiful Python environment on a new Mac and install Jupter Notebook
Build a python machine learning study environment on macOS sierra
Build a machine learning environment on mac (pyenv, deeplearning, opencv)
Build an environment for machine learning using Python on MacOSX
Create a Python (pyenv / virtualenv) development environment on Mac (Homebrew)
How to build a new python virtual environment on Ubuntu
Install pygame on python3.4 on mac
Building a Python environment on a Mac and using Jupyter lab
Set Up for Mac (Python)
Python environment construction For Mac
Build Python environment on Windows
Handling of python on mac
Update python on Mac to 3.7-> 3.8