SlideShare a Scribd company logo
1 of 3
Download to read offline
Case 1.1 - Python and Jupyter setup
Python and Jupyter
Python is a general purpose programming language that allows for both simple and complex
data analysis. Python is incredibly versatile, allowing analysts, consultants, engineers, and
managers to obtain and analyze information for insightful decision-making.
The ​Jupyter Notebook​ is an open-source web application that allows for Python code
development. Jupyter further allows for inline plotting and provides useful mechanisms for
viewing data that make it an excellent resource for a variety of projects and disciplines.
The following section will outline how to install and begin working with Python and Juypter.
Installing Python
Instruction guides for Windows and MacOS are included below. Follow the one that
corresponds with your operating system.
Windows Install
1. Open your browser and go to https://www.anaconda.com/distribution/
2. Click on "Windows" and then "Download" for Python 3.7 64-bit installer
3. Run the downloaded file found in the downloads section from Step 2
4. Click through the install prompts
5. Go to menu (or Windows Explorer), find the Anaconda3 folder, and double-click to run
MacOS Install
1. Open your browser and go to https://www.anaconda.com/distribution/
2. Click on "MacOS" and then "Download" for Python 3.7 64-bit installer
3. Run the downloaded file found in the downloads section from Step 2
4. Click through the install prompts
5. In Finder (or Launchpad), browse to the Anaconda3 folder to find the Jupyter program, and
double-click to run. Note that MacOS also comes with Python pre-installed, but you should
_not_ use this version, which is used by the system. Anaconda will run a second installation of
Python and you should ensure that you only use this second installation for all tasks.
Installing Environment for Case 1.1
Windows
This section describes how to load an environment using the ​Anaconda Navigator​ tool installed
with the default Windows Anaconda distribution.
To start, open the ​Anaconda Navigator​ application from the Windows Start Menu.
Load the ​win_env.yml​ included in the case directory into ​Anaconda Navigator​. Please use the
Import button to initiate loading. The Specification File corresponds to the eld of the
win_env.yml le you created. Press the Import button once the Name and Specification File
elds are populated with the appropriate values. The Name eld should auto-populate after
loading the environment le.
Figure 1: Environment Creation
Figure 2: Package Loading
Navigate to ​Home​ on the left-hand menu and locate the Jupyter Notebook tile on the main
pane. If the application is not installed, press the Install button on the Jupyter Notebook tile.
Select the environment corresponding to the environment/case from the drop down
(“Applications on environment”). To launch the notebook with the environment, press the
Launch button on the Jupyter Notebook tile.
OSX
This section describes how to load Anaconda environments on OSX using the terminal.
Please open a terminal window from the Applications/Utilitites directory.
Next, please check that anaconda is properly installed by issuing the following command:
conda -V
If the shell echoes “coda” followed by a version (e.g., “4.7.12”), then your installation has
succeeded.
Congure conda to work with pip to manage external dependencies. Run the following
command:
conda config --set pip_interop_enabled True
Using the terminal, navigate to the directory on your local machine where the case directory
distributed by your instructor is stored:
cd <path-to-case-directory>
From the context of this directory, load the dependencies associated with the current lesson:
conda env update --file osx_env.yml
Please note that the loading of the environment takes a few minutes sometimes.
Activate the environment using the command printed to the console:
conda activate <case-name>
Finally, launch a jupyter notebook.
jupyter notebook

More Related Content

What's hot

What's hot (10)

How to Install Python on Linux
How to Install Python on LinuxHow to Install Python on Linux
How to Install Python on Linux
 
Computer virus
Computer virusComputer virus
Computer virus
 
Trojan removal
Trojan removalTrojan removal
Trojan removal
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Internet explorer
Internet explorerInternet explorer
Internet explorer
 
CSE-Ethical-Hacking-ppt.pptx
CSE-Ethical-Hacking-ppt.pptxCSE-Ethical-Hacking-ppt.pptx
CSE-Ethical-Hacking-ppt.pptx
 
Android virtualization by cyberops infosec
Android virtualization by cyberops infosecAndroid virtualization by cyberops infosec
Android virtualization by cyberops infosec
 
Web browsers
Web browsersWeb browsers
Web browsers
 
งาน2
งาน2งาน2
งาน2
 
trojan horse- malware(virus)
trojan horse- malware(virus)trojan horse- malware(virus)
trojan horse- malware(virus)
 

Similar to Instructions+for+case1 1

Get Starte with MicroPython ESP32
Get Starte with MicroPython ESP32Get Starte with MicroPython ESP32
Get Starte with MicroPython ESP32fanghe22
 
Get Started with MicroPython ESP32
Get Started with MicroPython ESP32Get Started with MicroPython ESP32
Get Started with MicroPython ESP32fanghe22
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment SetupIan Pinto
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdfsahirzakaria
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windowstutorialsruby
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windowstutorialsruby
 
Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Frank Pham
 
BLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxBLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxmoirarandell
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxRaja Adapa
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxRaja Adapa
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum
 
PythonNotes1.pdf
PythonNotes1.pdfPythonNotes1.pdf
PythonNotes1.pdfShaikfiza5
 
Elegoo Super Starter Kit for UNO V1.0.2017.7.9.pdf
Elegoo Super Starter Kit for UNO V1.0.2017.7.9.pdfElegoo Super Starter Kit for UNO V1.0.2017.7.9.pdf
Elegoo Super Starter Kit for UNO V1.0.2017.7.9.pdfasdasdasd25145
 
2018.02.11 installation guide rhapsody in c and cpp
2018.02.11 installation guide rhapsody in c and cpp2018.02.11 installation guide rhapsody in c and cpp
2018.02.11 installation guide rhapsody in c and cppFrank Braun
 
Kinect installation guide
Kinect installation guideKinect installation guide
Kinect installation guidegilmsdn
 

Similar to Instructions+for+case1 1 (20)

Get Starte with MicroPython ESP32
Get Starte with MicroPython ESP32Get Starte with MicroPython ESP32
Get Starte with MicroPython ESP32
 
Get Started with MicroPython ESP32
Get Started with MicroPython ESP32Get Started with MicroPython ESP32
Get Started with MicroPython ESP32
 
Android Application Development Environment Setup
Android Application Development Environment SetupAndroid Application Development Environment Setup
Android Application Development Environment Setup
 
InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdf
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windows
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windows
 
Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1
 
Android app upload
Android app uploadAndroid app upload
Android app upload
 
BLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxBLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docx
 
Install guide
Install guideInstall guide
Install guide
 
Install guide
Install guideInstall guide
Install guide
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docx
 
To create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docxTo create anaconda environment user defined path other than default path.docx
To create anaconda environment user defined path other than default path.docx
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User Manual
 
PythonNotes1.pdf
PythonNotes1.pdfPythonNotes1.pdf
PythonNotes1.pdf
 
Elegoo Super Starter Kit for UNO V1.0.2017.7.9.pdf
Elegoo Super Starter Kit for UNO V1.0.2017.7.9.pdfElegoo Super Starter Kit for UNO V1.0.2017.7.9.pdf
Elegoo Super Starter Kit for UNO V1.0.2017.7.9.pdf
 
NDK Introduction
NDK IntroductionNDK Introduction
NDK Introduction
 
2018.02.11 installation guide rhapsody in c and cpp
2018.02.11 installation guide rhapsody in c and cpp2018.02.11 installation guide rhapsody in c and cpp
2018.02.11 installation guide rhapsody in c and cpp
 
notes about Arduino
notes about Arduinonotes about Arduino
notes about Arduino
 
Kinect installation guide
Kinect installation guideKinect installation guide
Kinect installation guide
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 

Instructions+for+case1 1

  • 1. Case 1.1 - Python and Jupyter setup Python and Jupyter Python is a general purpose programming language that allows for both simple and complex data analysis. Python is incredibly versatile, allowing analysts, consultants, engineers, and managers to obtain and analyze information for insightful decision-making. The ​Jupyter Notebook​ is an open-source web application that allows for Python code development. Jupyter further allows for inline plotting and provides useful mechanisms for viewing data that make it an excellent resource for a variety of projects and disciplines. The following section will outline how to install and begin working with Python and Juypter. Installing Python Instruction guides for Windows and MacOS are included below. Follow the one that corresponds with your operating system. Windows Install 1. Open your browser and go to https://www.anaconda.com/distribution/ 2. Click on "Windows" and then "Download" for Python 3.7 64-bit installer 3. Run the downloaded file found in the downloads section from Step 2 4. Click through the install prompts 5. Go to menu (or Windows Explorer), find the Anaconda3 folder, and double-click to run MacOS Install 1. Open your browser and go to https://www.anaconda.com/distribution/ 2. Click on "MacOS" and then "Download" for Python 3.7 64-bit installer 3. Run the downloaded file found in the downloads section from Step 2 4. Click through the install prompts 5. In Finder (or Launchpad), browse to the Anaconda3 folder to find the Jupyter program, and double-click to run. Note that MacOS also comes with Python pre-installed, but you should _not_ use this version, which is used by the system. Anaconda will run a second installation of Python and you should ensure that you only use this second installation for all tasks.
  • 2. Installing Environment for Case 1.1 Windows This section describes how to load an environment using the ​Anaconda Navigator​ tool installed with the default Windows Anaconda distribution. To start, open the ​Anaconda Navigator​ application from the Windows Start Menu. Load the ​win_env.yml​ included in the case directory into ​Anaconda Navigator​. Please use the Import button to initiate loading. The Specification File corresponds to the eld of the win_env.yml le you created. Press the Import button once the Name and Specification File elds are populated with the appropriate values. The Name eld should auto-populate after loading the environment le. Figure 1: Environment Creation Figure 2: Package Loading Navigate to ​Home​ on the left-hand menu and locate the Jupyter Notebook tile on the main pane. If the application is not installed, press the Install button on the Jupyter Notebook tile. Select the environment corresponding to the environment/case from the drop down (“Applications on environment”). To launch the notebook with the environment, press the Launch button on the Jupyter Notebook tile.
  • 3. OSX This section describes how to load Anaconda environments on OSX using the terminal. Please open a terminal window from the Applications/Utilitites directory. Next, please check that anaconda is properly installed by issuing the following command: conda -V If the shell echoes “coda” followed by a version (e.g., “4.7.12”), then your installation has succeeded. Congure conda to work with pip to manage external dependencies. Run the following command: conda config --set pip_interop_enabled True Using the terminal, navigate to the directory on your local machine where the case directory distributed by your instructor is stored: cd <path-to-case-directory> From the context of this directory, load the dependencies associated with the current lesson: conda env update --file osx_env.yml Please note that the loading of the environment takes a few minutes sometimes. Activate the environment using the command printed to the console: conda activate <case-name> Finally, launch a jupyter notebook. jupyter notebook