Installation guide#
The sizing course is available on this repository: SizingLab/sizing_course
Colab#
Open Google Colab, open a new notebook and clone the repository by running in a cell:
! git clone https://github.com/SizingLab/sizing_course.git
Then install the required dependencies by running in a cell:
!pip install -r sizing_course/requirements.txt
Jupyter Hub#
Open Jupyter Hub, open a new terminal and clone the repository by running:
git clone https://github.com/SizingLab/sizing_course.git
Tip
To cancel your local changes and update your project with the lastest version available on the repo you can run:
git reset --hard
git fetch
git pull
Then, create a new conda environment by running:
conda create -n sizing_course python=3.9
source activate sizing_course
or conda activate sizing_course
Then install the required dependencies by running:
pip install -r sizing_course/requirements.txt
Then, create a new kernel accessible from Jupyter Lab:
conda install ipykernel
ipython kernel install --user --name=sizing_course
Tip
To zip the folder you can open a terminal at the father directory of the project and run:
zip -r my_projet.zip sizing_course
You can then download the .zip from Jupyter Hub as a normal file.
Binder#
Local#
Download the zip file from Github and unzip it.
Open an Anaconda Prompt terminal and cd
to the recently unziped folder.
For ISAE-SUPAERO students, you can run the following line to activate conda:
module load anaconda3/2024
You can then create a new conda environment by running:
conda create -n sizing_course python=3.9
conda activate sizing_course
or source activate sizing_course
Export proxys (on ISAE-SUPAERO computers):
export http_proxy=http://proxy.isae.fr:3128
export https_proxy=http://proxy.isae.fr:3128
Then install required dependencies:
pip install -r requirements.txt
Run jupyter lab:
jupyter lab