[PYTHON] Try using E-Cell 4 on Windows 7 or Mac OS X

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

How to install

__Note: E-Cell 4 is currently under development. Please note that it probably has a human pillar element. __

--Repository: https://github.com/ecell/ecell4 --Official documentation: http://ecell4.readthedocs.org/en/latest/

Installation of jupyter [notebook], numpy, matplotlib, etc. is really optional, but it's definitely better to use it.

For Windows

  1. Install the ** 32-bit version ** of Miniconda for Windows from http://conda.pydata.org/miniconda.html [^ 1 ].

[^ 1]: If you have plenty of space, you can save time by using Anaconda with all of them. Https://www.continuum.io/downloads

  1. Start the command prompt cmd and install other dependent Python libraries [^ 2].

conda update pip conda install hdf5 jupyter matplotlib


 [^ 2]: Not required for Anaconda.

 3. Continue to install E-Cell 4. For Python3, execute the lower part.

    ```
pip install https://github.com/ecell/ecell4/releases/download/4.0.0/ecell-4.0.0-cp27-none-win32.whl
# pip install https://github.com/ecell/ecell4/releases/download/4.0.0/ecell-4.0.0-cp35-none-win32.whl

Although it is an option, if you want to use the video display function, install FFmpeg from http://ffmpeg.zeranoe.com/builds/ and the path PATH Let through.

For Mac

For Mac OS X, E-Cell 4 itself can be installed with homebrew.

brew tap ecell/ecell4
brew install ecell4

install gsl with homebrew

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

Preparing the Python environment

Since Python, numpy and matplotlib are already included, install IPython Notebook using pip.

curl -O https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install "ipython[notebook]"

E-Cell 4 installation

Next, install E-Cell 4. For Yosemite (10.10),

sudo pip install https://github.com/ecell/ecell4/releases/download/4.0.0-beta2/ecell4-4.0.0b2-cp27-none-macosx_10_10_intel.whl

For Mavericks (10.9),

sudo pip install https://github.com/ecell/ecell4/releases/download/4.0.0-beta2/ecell4-4.0.0b2-cp27-none-macosx_10_9_intel.whl

Can be installed with.

How to use

If you have IPython Notebook installed, launch it as follows. The browser should start and jump to the main page of IPython Notebook. Please note that problems may occur when using IE or Safari. Please.

ipython notebook

After creating a new notebook and running `` `% matplotlib inline``` on the first line, you can run the code below to display the simulation results as a graph.

test1.py


%matplotlib inline
import numpy
from ecell4 import *

with reaction_rules():
    A + B == C | (0.01, 0.3) #Reversible reaction

run_simulation(10, {'A': 60, 'B': 60})

The result should look like this:

plot0.png

Please refer to the following article for more detailed usage.

-Easy to use E-Cell 4 for beginners -Easy to use E-Cell 4 Intermediate -Easy to use E-Cell 4 Advanced Edition

Recommended Posts

Try using E-Cell 4 on Windows 7 or Mac OS X
Try using OpenCV on Windows
Memo on Mac OS X
Install Sphinx on Mac OS X
Install mitmproxy on Mac OS X
Install pgmagick on Mac OS X 10.9
Using multiple versions of Python on Mac OS X (2) Usage
Using NAOqi 2.4.2 Python SDK on Mac OS X El Capitan
Try using Bash on Windows 10 2 (TensorFlow installation)
Using multiple versions of Python on Mac OS X (1) Multiple Ver installation
Installed aws-cli On Mac OS X Lion
How to install Theano on Mac OS X 10.10 (using pyenv, anaconda)
Run NASA CEA on Mac OS X
Run Zookeeper x python (kazoo) on Mac OS X
Shpinx (Python documentation builder) on Mac OS X
Try FEniCS on Windows!
Try Poerty on Windows
Try deepdream on Mac
Preparing to use aws cli on Mac OS X
Building an environment for "Tello_Video" on Mac OS X
Very easy to install SciPy on Mac OS X
Build a Python development environment on Mac OS X
Install PyQt5 with homebrew on Mac OS X Marvericks (10.9.2)
How to install Theano on Mac OS X with homebrew
Try using Pillow on iPython (Part 1)
Get started with the Python framework Django on Mac OS X
Try using Pillow on iPython (Part 2)
Installation of scikit-learn (Mac OS X)
Install Scipy on Mac OS Sierra
Continuation ・ Notes on preparing the Python development environment on Mac OS X
Quickly install OpenCV 2.4 (+ python) on OS X and try the sample
Try using ArUco on Raspberry Pi
Try using cheap LiDAR (Camsense X1)
Try using Pillow on iPython (Part 3)
Install lp_solve on Mac OS X and call it with python.
Try running Jupyter Notebook on Mac
(Beginner) Notes on using pyenv on Mac
[Just a note] Until Keras + TensorFlow works on Mac OS X Sierra
Notes on setting pyenv and python environment using Homebrew on Mac OS Marvericks
Notes for using OpenCV on Windows10 Python 3.8.3.
Mac OS X Mavericks 10.9.5 Development environment construction
Install opencv on Mac using Anaconda Navigator
Install matplotlib on OS X El Capitan
Try using the $ 6 discount LiDAR (Camsense X1)
Put Anaconda on your Mac using Pyenv
How to erase Python 2.x on Mac.
Use without installing python 2.x on Windows
GeoDjango + SQLite environment construction on OS X
Try running PlaidML image judgment on Mac
Mac OS X Yosemite 10.10 Development environment construction
Mac OS X development environment construction memo
Error, warning when using TensorFlow on Mac
Video processing using Python + OpenCV on Mac
Read FeliCa using Pasori (RC-380S) on Mac
I've built an environment to try using TensorFlow on mac, so my memo
Notes on installing Python3 and using pip on Windows7
Try using a QR code on a Raspberry Pi
Preparing to run ImageMagick + im4java on Mac OS
Python: Try using the UI on Pythonista 3 on iPad
Try downloading AbemaTV or Nico Nama on node
Output repository list using Github API on Mac