Skip to content

Commit 2081e9a

Browse files
committed
fix pip installs
1 parent 531273c commit 2081e9a

File tree

6 files changed

+4
-12
lines changed

6 files changed

+4
-12
lines changed

lectures/french_rev.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ This lecture uses data from three spreadsheets assembled by {cite}`sargent_velde
6262
* [datasets/assignat.xlsx](https://github.com/QuantEcon/lecture-python-intro/blob/main/lectures/datasets/assignat.xlsx)
6363

6464
```{code-cell} ipython3
65-
%pip install openpyxl
66-
%pip install requests
65+
!pip install openpyxl requests
6766
```
6867

6968
```{code-cell} ipython3

lectures/heavy_tails.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
1919
```{code-cell} ipython3
2020
:tags: [hide-output]
2121
22-
!pip install --upgrade yfinance pandas_datareader
23-
%pip install openpyxl
22+
!pip install yfinance pandas_datareader
2423
```
2524

2625
We use the following imports.

lectures/inequality.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ We will need to install the following packages
8282
:tags: [hide-output]
8383
8484
!pip install wbgapi plotly
85-
%pip install openpyxl
8685
```
8786

8887
We will also use the following imports.

lectures/inflation_history.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ The `xlrd` package is used by `pandas` to perform operations on Excel files.
2222
```{code-cell} ipython3
2323
:tags: [hide-output]
2424
25-
!pip install xlrd
26-
!pip install openpyxl
25+
!pip install xlrd openpyxl
2726
```
2827

2928
<!-- Check for pandas>=2.1.4 for Google Collab Compat -->

lectures/long_run_growth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ be interesting to describe both total GDP and GDP per capita as it evolves withi
6565
First we will need to install the following package
6666

6767
```{code-cell} ipython3
68-
%pip install openpyxl
68+
!pip install openpyxl
6969
```
7070

7171
Now let's import the packages needed to explore what the data says about long-run growth

lectures/mle.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ kernelspec:
1313

1414
# Maximum Likelihood Estimation
1515

16-
```{code-cell} ipython3
17-
%pip install openpyxl
18-
```
19-
2016
```{code-cell} ipython3
2117
from scipy.stats import lognorm, pareto, expon
2218
import numpy as np

0 commit comments

Comments
 (0)