From bc3e05804daa84c09b2a74190605c0abb452eb6f Mon Sep 17 00:00:00 2001 From: Olivier Cots <66357348+ocots@users.noreply.github.com> Date: Wed, 6 Sep 2023 11:04:36 +0200 Subject: [PATCH] add install packages for tp --- tp/install.ipynb | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 tp/install.ipynb diff --git a/tp/install.ipynb b/tp/install.ipynb new file mode 100644 index 0000000..fe68287 --- /dev/null +++ b/tp/install.ipynb @@ -0,0 +1,66 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# activate local project\n", + "using Pkg\n", + "Pkg.activate(\".\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# install the packages in the local project\n", + "Pkg.add([\"DifferentialEquations\", \n", + " \"DualNumbers\", \n", + " \"ForwardDiff\", \n", + " \"LinearAlgebra\", \n", + " \"Plots\"])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# load packages from local project\n", + "using DifferentialEquations\n", + "using DualNumbers\n", + "using ForwardDiff\n", + "using LinearAlgebra\n", + "using Plots" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Julia 1.9.0", + "language": "julia", + "name": "julia-1.9" + }, + "language_info": { + "file_extension": ".jl", + "mimetype": "application/julia", + "name": "julia", + "version": "1.9.0" + }, + "orig_nbformat": 4 + }, + "nbformat": 4, + "nbformat_minor": 2 +} -- GitLab