- Go to Start.
- Type: anaconda. Click on Anaconda Prompt (anaconda3). This will open a command prompt.
- Type: where anaconda. This will show where anaconda is installed on your computer. Copy the path:
C:\Users\thomas\anaconda3\Scripts\anaconda.exe
-
Create a new directory anywhere you want and give it a name: COMPXXX. It is better if your put all notebooks for the course in single directory in Desktop or Documents or any drive.
-
Create a New File using Notepad from start.
-
Copy paste the following code into the notepad. Use the path from above
step-3
for set CONDAPATH= but remove:"\Scripts\anaconda.exe"
@echo OFF
set CONDAPATH=C:\Users\thomas\anaconda3
set PATH=%PATH%;%CONDAPATH%\Scripts;%CONDAPATH%\Library\bin
call %CONDAPATH%\Scripts\activate.bat
call pip install carpo-student==0.0.8
rem Launch JupyterLab from the current directory
set current_dir=%cd%
call %CONDAPATH%\Scripts\jupyter-lab.exe %current_dir%
- Use
Save As
to save the file inside the directory created inStep 1
. Give it a name:launch-jupyter-lab.bat
. This file should be executable when saved as.bat
. Make sure the file is executable when saved. - Go to your directory created in step-1. Double click on the
launch-jupyter-lab.bat
. It should launch Jupyter Lab from your directory. Thecarpo-student
extension should also be available.
-
Create a new directory anywhere you want and give it a name: COMPXXX. It is better if your put all notebooks for the course in single directory in Desktop or Documents or any drive.
-
Create a New File and save it is
launch-jupyter-lab.sh
cd `pwd`;
pip install carpo-student==0.0.8
jupyter lab