-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.bat
46 lines (24 loc) · 861 Bytes
/
install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
echo Install the Python package manager
python -m pip install -U pip /quiet
echo Create the virtual environment
pip install virtualenv
virtualenv env
echo Activate the virtual environment
call .\env\Scripts\activate.bat
echo Install dependencies
pip install ipykernel
ipython kernel install --user --name=env
pip install -r requirements.txt
pip uninstall -y tornado
pip install tornado==5.1.1
jupyter contrib nbextension install --sys-prefix
jupyter nbextensions_configurator enable --sys-prefix
jupyter nbextension enable collapsible_headings/main
python -m ipykernel install --user --name env /quiet
rem fix for temporary issue:
rem https://github.com/jupyter/notebook/issues/4467
pip uninstall -y notebook
pip install notebook==5.7.5
echo Compile documentation
call .\doc\make html
echo Done. Type 'run' to start your jupyter notebook