Skip to content

Commit 80ef919

Browse files
authored
ENH: Improve compatibility with Google Colab (#236)
* ENH: Improve compatibility with Google Colab * TMP: remove cache * Revert "TMP: remove cache" This reverts commit 18ceaca. * add notice for Google Colab users for plotly
1 parent 4d5d1f0 commit 80ef919

33 files changed

+39
-33
lines changed

lectures/aiyagari.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
3030
---
3131
tags: [hide-output]
3232
---
33-
!conda install -y quantecon
33+
!pip install quantecon
3434
```
3535

3636
## Overview

lectures/back_prop.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ kernelspec:
2020
!conda install -y -c plotly plotly plotly-orca retrying
2121
```
2222

23+
```{note}
24+
If you are running this on Google Colab the above cell will
25+
present an error. This is because Google Colab doesn't use Anaconda to manage
26+
the Python packages. However this lecture will still execute as Google Colab
27+
has `plotly` installed.
28+
```
29+
2330
## Overview
2431

2532
Substantial parts of **machine learning** and **artificial intelligence** are about

lectures/career.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
3333
---
3434
tags: [hide-output]
3535
---
36-
!conda install -y quantecon
36+
!pip install quantecon
3737
```
3838

3939
## Overview

lectures/coleman_policy_iter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
2929
---
3030
tags: [hide-output]
3131
---
32-
!conda install -y quantecon
32+
!pip install quantecon
3333
!pip install interpolation
3434
```
3535

lectures/egm_policy_iter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
2929
---
3030
tags: [hide-output]
3131
---
32-
!conda install -y quantecon
32+
!pip install quantecon
3333
!pip install interpolation
3434
```
3535

lectures/finite_markov.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
3030
---
3131
tags: [hide-output]
3232
---
33-
!conda install -y quantecon
33+
!pip install quantecon
3434
```
3535

3636
## Overview

lectures/harrison_kreps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ In addition to what's in Anaconda, this lecture uses following libraries:
3333
---
3434
tags: [hide-output]
3535
---
36-
!conda install -y quantecon
36+
!pip install quantecon
3737
```
3838

3939
## Overview

lectures/heavy_tails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
3333
---
3434
tags: [hide-output]
3535
---
36-
!conda install -y quantecon
36+
!pip install quantecon
3737
!pip install --upgrade yfinance
3838
```
3939

lectures/ifp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
2929
---
3030
tags: [hide-output]
3131
---
32-
!conda install -y quantecon
32+
!pip install quantecon
3333
!pip install interpolation
3434
```
3535

lectures/ifp_advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
2929
---
3030
tags: [hide-output]
3131
---
32-
!conda install -y quantecon
32+
!pip install quantecon
3333
!pip install interpolation
3434
```
3535

0 commit comments

Comments
 (0)