File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,40 +14,46 @@ Homebrew is one of the popular package managers used by many Mac users.
1414To install Homebrew, you need have xcode command line tools installed,
1515
1616from the terminal, type:
17- ```
17+ ~~~
1818xcode-select --install
19- ```
19+ ~~~
20+ {: .language-bash}
2021
2122then
22- ```
23+ ~~~
2324/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
24- ```
25+ ~~~
26+ {: .language-bash}
2527
2628Run the following command to ensure Homebrew is installed properly:
2729
28- ```
30+ ~~~
2931brew doctor
30- ```
32+ ~~~
33+ {: .language-bash}
3134
3235install Python 3:
3336
34- ```
37+ ~~~
3538brew install python3
36- ```
39+ ~~~
40+ {: .language-bash}
3741
38- All the rest of workshop packages can be installed by pip3 which comes together with Python 3:
42+ All the rest of workshop packages can be installed by ` pip3 ` which comes together with Python 3:
3943
40- ```
44+ ~~~
4145pip3 install numpy pandas matplotlib jupyter
4246pip3 install bokeh ggplot
43- ```
47+ ~~~
48+ {: .language-bash}
4449
4550pip3 can automatically figure out all the dependencies that required by the above packages.
4651
4752Launch a Python command prompt, type:
48- ```
53+ ~~~
4954python3
50- ```
55+ ~~~
56+ {: .language-bash}
5157
5258## Checking installations.
5359
@@ -57,9 +63,10 @@ By default, Data Carpentry does not have people pull the whole repository with a
5763you, as the instructor, get to decide how you'd like to provide this script to learners, if at all.
5864To use this, students can navigate into includes/scripts terminal, and execute the following:
5965
60- ```
66+ ~~~
6167python check_env.py
62- ```
68+ ~~~
69+ {: .language-bash}
6370
6471If learners receive an ` AssertionError ` , it will inform you how to help them correct this
6572installation. Otherwise, it will tell you that the system is good to go and ready for Data Carpentry!
You can’t perform that action at this time.
0 commit comments