Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Setup

This folder contains instructions to get your computer set up for this course.

Order:

  1. Start with macos.md or windows.md based on your operating system.

  2. Next set up git using git.md.

  3. And last, set up your ssh keys using ../git/03-ssh.md

  4. Install python and node.

    macOS:

    brew install python
    brew install node
    

    Ubuntu/WSL:

    sudo apt-get update
    sudo apt-get install -y python3 python3-pip nodejs
    

follow the following steps to install packages:

Fix externally-managed-environment Error

If you see this error with pip3 install:

error: externally-managed-environment

Fix:

  1. Make the config directory:

    mkdir -p ~/.config/pip
  2. Create and edit pip.conf:

    touch ~/.config/pip/pip.conf
    subl ~/.config/pip/pip.conf
  3. Add this:

    [global]
    break-system-packages = true
  4. Save the file and verify: Run the following command:

    pip3 config list

    What you should see:

    global.break-system-packages = true
    
  5. Install your package:

    pip3 install pandas

Done!

By ChatGPT + Dhrumil