-
Notifications
You must be signed in to change notification settings - Fork 2
Installation notes
Mike Hucka edited this page Jun 15, 2018
·
17 revisions
(Notes from Mike Hucka.) These are the steps I took to install Moccasin on different platforms. These are more or less minimal installations. In all cases, I used Parallels Desktop version 13.
Ubuntu does not preinstall the libraries needed by wxPython, which leads to failures when running pip3 install .
for Moccasin. The following is a reproducible way to create an Ubuntu environment that can be used to build Moccasin.
- Install a basic Ubuntu 16.04 or 18.04 distribution in a fresh virtual machine
- Configure your VM to have sufficient RAM and other resources. (I used 4 GB RAM, 2 cores.)
- Reboot
- Log in
- Do post-installation updates using Ubuntu's software updater
- Reboot & log in again
- Start a terminal shell
- Install git, Python 3 and pip:
sudo apt-get install git python3-pip
- Install certain system packages needed by wxPython 4 that are not installed automatically:
sudo apt-get install -y build-essential libwebkit2gtk-4.0-dev freeglut3-dev sudo apt-get install -y libgstreamer-plugins-base1.0-dev libsdl2-dev libtiff5-dev
- Reboot & log in again
- Do the Moccasin installation:
git clone https://github.com/sbmlteam/moccasin.git cd moccasin sudo pip install .
CentOS 7.4 and 7.5 do not preinstall the libraries needed by wxPython, which leads to failures when running pip3 install .
for Moccasin.
- Install a basic CentOS distribution in a fresh virtual machine
- Configure your VM to have sufficient RAM and other resources. (I used 4 GB RAM, 2 cores.)
- Reboot
- Log in
- Do post-installation updates:
sudo yum update -y
- Reboot & log in again
- Start a terminal shell
- Install git, Python 3 and pip:
sudo apt-get install git python35-pip
- Install a C++ compiler and libraries needed to build wxPython:
sudo yum groupinstall 'Development Tools' sudo yum install python35-devel mesa-libGLU-devel gtk3-devel freeglut-dev sudo yum install gstreamer1-devel gstreamer1-plugins-base-devel sudo yum install webkitgtk3-devel