-
Notifications
You must be signed in to change notification settings - Fork 8
Install
There are 3 different ways to install, listed from easiest, to still easy.
Option 1) Run from Google CoLab
(If you don't want to install anything, and want to run everything from the cloud)
(If you want to use the code but not modify any of the source)
from the terminal:
pip install git+https://github.com/jcchin/boring.git
(If you want to actively modify/develop from the source code)
from the terminal navigate to a path to save the source code
git clone https://github.com/jcchin/boring.git
from the terminal navigate to the top folder (containing setup.py
) and type:
pip install -e .
Installing FENICS
Option 1) Run from Google CoLab
(If you don't want to install anything, and want to run everything from the cloud)
conda create -n fenicsproject
# create a conda environment
conda activate fenicsproject
# activate the environment
conda install -c conda-forge fenics
# install packages
conda install -c conda-forge mshr
conda install matplotlib
if fenics/mshr/dolphin has an import or image error, a different version of fenics/mshr may be needed
run conda search mshr -c conda-forge
then try working back from the latest build
as an example, the following version was required to be compatible with my environment
conda install -c conda-forge mshr=2019.1.0=py37h6914226_4