civildot

Workflow tricks for Civil Engineers using Python and Jupyter

Getting Started

Just follow the steps below to get the software installed and the environment up and running.

  1. Download Miniconda for your specific platform. Use Python 3.x
  2. Install minconda on your computer. On Linux and MacOS you have to open the terminal, navigate to the directory where the file has been downloaded and type: sudo bash ./Miniconda3-latest-****-x86_64.sh. This will install conda.
  3. Inside the terminal or command prompt type: conda create -n eng anaconda python=3. A lot of packages will be downloaded and installed.
  4. On MS Windows type: activate eng and MacOS and Linux type: source activate eng
  5. You are now in the eng environment.
  6. Add the conda-forge channel by typing: conda config --add channels conda-forge
  7. Now type: conda install fiona
  8. Now type: jupyter notebook to start the notebook environment. You will see it will open in your current working directory. If you want to start in a different directory you will have to navigate to that directory before launching the notebook.

Subsequent Starts

On Windows open the command prompt and type:

> activate eng
> (eng): jupyter notebook

On MacOS and Linux open the Terminal and type:

$ source activate eng
$ (eng): jupyter notebook