Skip to content

Instructions to set-up Python 3 and Jupyter Notebook for workshop

License

Notifications You must be signed in to change notification settings

nexussjcet/py-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Python workshop

Organized by The Nexus and SJCET Startup Bootcamp.

Speaker Topic
Siddharth Prajosh Python

Workshop pre-requisites:

  • python (version 3.8 or greater)
  • Jupyter Notebook (python interactive developement web application)

Setting up python workspace

Instruction for:

Windows

1.0 Downloading latest python

Download the latest python ver. 3.9 from the official website


2.0 Setup

Launch the executable setup file you just downloaded, and proceed through the installation

2.1 Add path option checked

Make sure that the Add Python 3.9 to PATH option is checked


2.2 Initiate

By clicking on the "Install Now" button initiate installation


2.3 Complete installation

Once the installation is completed, close the setup (You might have to restart your PC depending on the version of window and hardware specification)


3.0 Command prompt setup

Open windows command prompt by submitting the command "cmd" in the Windows Run dialog box
To open Windows Run, use either:

  • Windows Button + R Keyboard shortcut
  • Right-click Windows Button and select "Run"


3.1 Check python version

Within the windows Command Prompt, ensure the correct version of python is installed by running python --version



Python uses pip package manager which can be used to install various development software, which we will now use to install jupyter notebook

4.0 Install Jupyter Notebook

Use the command: pip install notebook to install jupyter notebook
This will install jupyter notebook and all it's dependencies, wait for installation to complete.



5.0 Run Jupyter Notebook

After installation is complete, you can start a jupyter notebook webserver by simply running the command jupyter notebook within command prompt window




6.0 Creating new notebook for development

Navigate to an appropriate directory/folder and create a new notebook




Linux

Check if python is installed:

user@pc:~$ python --version

If python isn't installed, refer here to find installation intructions.

Installing jupyter notebook

Update and refresh repository list

user@pc:~$ sudo apt update 

Installing jupyter notebook

user@pc:~$ pip install notebook

Run notebook webserver by running the command

user@pc:~$ jupyter notebook

The jupyter notebook webserver will start running on your localhost, refer to notebook session instructions for windows to run notebook session within the webserver instance.

That's it, you're done setting up your system!

About

Instructions to set-up Python 3 and Jupyter Notebook for workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published