💻
Data Science & M/L
  • Data Science & Machine Learning
  • Setup Google Drive Colab Environment
  • Curriculum Review
    • Choosing The Right Estimator
    • Choosing The Right Visual Graph
    • Referenced During Curriculum
  • Next Steps
    • Online Courses
    • Tutorials / Guides / Cheat Sheets
    • Competitions / Projects
    • Datasets
    • Books
    • Videos
    • Podcasts
    • Blogs / News
    • Articles
Powered by GitBook
On this page
  • Prerequisites:
  • 1. Download initial-setup.zip File
  • 2. Extract initial-setup.zip
  • 3. Navigate to Google Drive
  • 4. Upload initial-setup.ipynb
  • 5. Connect Colab To Google Drive
  • 6. Create A Colab Notebooks Folder In Your Google Drive
  • 7. Open initial-setup.ipynb Using Google Colaboratory
  • Other Software To Possibly Consider For Offline Use
  • Python 3 - The Anaconda Distribution.
  • Mac Os
  • Windows
  • Git
  • Mac Os
  • Windows

Was this helpful?

Setup Google Drive Colab Environment

This is a walk through of getting started with Google Colaboratory

PreviousData Science & Machine LearningNextCurriculum Review

Last updated 5 years ago

Was this helpful?

Prerequisites:

  • Google account

1. Download initial-setup.zip File

2. Extract initial-setup.zip

3. Navigate to Google Drive

4. Upload initial-setup.ipynb

5. Connect Colab To Google Drive

  1. Double left click the initial-setup.ipynb to open it

You might need to do the following steps:

  • At the top of the screen, click "Open with" and "Connect More Apps"

  • Type colab into the search field and hit enter

  • Click the "connect" button next to Google Colaboratory

Now you have the option to open the files with Google Colaboratory

6. Create A Colab Notebooks Folder In Your Google Drive

  1. Double left click the initial-setup.ipynb to open it

  2. At the top of the screen, click "Open with Google Colaboratory"

  3. Under File menu Click Save a copy in Drive...

  4. Close initial-setup.ipynb notebook

  5. Focus the copy of initial-setup.ipyb and move to step 6, below.

This step will create new folder in your google drive called Colab Notebooks

7. Open initial-setup.ipynb Using Google Colaboratory

If copy of initial-setup.ipynb is not open yet open with the following steps:

  1. Navigate to your google drive

  2. Navigate to the Colab Notebooks folder

  3. Double left click the Copy of initial-setup.ipynbto open it with "Open with Google Colaboratory"

  1. Run Mount the drive cell ( click cell and press Shift+Enter )

  2. Click the generated link

  3. Choose your account

  4. Click Allow on the bottom

  5. Copy authorization code then press enter

  6. Run other cells ( click cell and press Shift+Enter )

Navigate your intro-to-python folder in your drive's Colab Notebooks folder

Other Software To Possibly Consider For Offline Use

Python 3 - The Anaconda Distribution.

There are many ways to get Python on your computer, but the premier way of accomplishing this in the Data science world is by installing the Anaconda distribution.

Which gives you access to Python 3, Jupyter Notebook, and a number of indispensable Data science libraries such as NumPy, Pandas, and MatplotLib

Mac Os

  1. Download the MacOs Installer for Python3

  2. Double-click the downloaded file and click continue to start the installation.

  3. Answer the prompts on the Introduction, Read Me and License screens.

  4. In Destination Select, click the Install button to install Anaconda in your Home User Directory.

  5. (Optional) Microsoft VScode

    You will be given the option to install VScode.

    (I DO NOT recommend that you install VSCode at this point. Although it is a GREAT IDE that will come in handy down the line, it is best that we familiarize ourselves with the conda environment for starters.)

  6. Installation will be complete when you can search for and find the Anaconda Navigator and Anaconda Prompt applications on your computer.

PATH might be an issue.

Windows

  1. Download the MacOs Installer for Python3

  2. Double-click the downloaded file and click continue to start the installation.

    1. Do not launch the installer from within your Favorites Folder.

  3. Read Licensing terms and click I Agree.

  4. Select an install for Just Me

  5. Select a destination folder that is within your Home Directory.

    ex: c:\Users\your_name\Anaconda3

  6. DO add Anaconda to my Path Environment Variable

  7. Do Register Anaconda as my default Python 3.7

  8. (Optional) Microsoft VScode

    you will be given the option to install VScode.

    (I DO NOT recommend that you install VSCode at this time. Although it is a GREAT IDE that will come in handy down the line, it is best that we familiarize ourselves with the conda environment for starters.)

  9. After a successful installation you will see the “Thanks for installing Anaconda” dialog box.

  10. You should now be able to find the Anaconda Navigator and Anaconda Prompt applications on your computer.

Git

Git is a version-control software that allows us to interface with github.

This is the software that you will be using to pull down the course materials from Github onto your computer.

Mac Os

Download it here and install. --Fairly-- Painless on Mac

Windows

Prepare for Installation

  1. Verify Windows version is up to date, update if not.

  2. Activate Developer Mode in Settings. (See .gif below)

    Open Settings (by typing "settings" in Cortana at the bottom left of your screen) and choose "Update & Security" then "For developers", and then turn on "Developer mode" if it's not already selected.

  3. Note: You may be prompted to install additional packages (and you should do this if prompted) and a restart may be required (which you should also do).

Install Git for Windows

  1. Download and run the installer, which you can find here.

  2. The installer will prompt you through several setup screens. You should select the default option for each one.

Once the installation has finished, you can open Git for Bash by clicking on Cortana and typing "Git Bash"). Congrats! You've now got a Linux-like command line environment running in Windows.

890B
initial_setup.zip
archive
Initial-setup.zip