diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2cbcdb7..64d3a4f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: python-version: "3.10" environment-file: environment.yml activate-environment: quantecon - - name: Graphics Support - run: | - sudo apt-get -qq update && sudo apt-get install -y graphviz + # - name: Graphics Support + # run: | + # sudo apt-get -qq update && sudo apt-get install -y graphviz # - name: Install latex dependencies # run: | # sudo apt-get -qq update @@ -80,4 +80,4 @@ jobs: deploy-message: "Preview Deploy from GitHub Actions" env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} \ No newline at end of file + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} diff --git a/.gitignore b/.gitignore index 726f336d..1140406f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store lectures/_build -*/.ipynb_checkpoints/ \ No newline at end of file +*/.ipynb_checkpoints/ +_build/* diff --git a/environment.yml b/environment.yml index a432c0f2..10c044a2 100644 --- a/environment.yml +++ b/environment.yml @@ -1,9 +1,11 @@ name: quantecon channels: - default + - conda-forge dependencies: - python=3.10 - anaconda=2023.03 + - python-graphviz - pip - pip: - jupyter-book==0.15.1 @@ -23,4 +25,3 @@ dependencies: # - cylp # - array-to-latex # - prettytable - diff --git a/lectures/networks.md b/lectures/networks.md index eb0de92b..2db63c92 100644 --- a/lectures/networks.md +++ b/lectures/networks.md @@ -13,10 +13,18 @@ kernelspec: # Networks +```{admonition} graphviz +:class: warning +If you are running this lecture locally it requires [graphviz](https://www.graphviz.org) +to be installed on your computer. Installation instructions for graphviz can be found +[here](https://www.graphviz.org/download/) +``` + ```{code-cell} ipython3 :tags: [hide-output] -pip install quantecon-book-networks pandas-datareader +!pip install quantecon graphviz +!pip install quantecon-book-networks pandas-datareader ```