Skip to content

Commit

Permalink
Update steps in installation to local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
debakarr committed Mar 10, 2024
1 parent c1b6de5 commit b136733
Showing 1 changed file with 170 additions and 5 deletions.
175 changes: 170 additions & 5 deletions content/00_about_the_course.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,176 @@
"## Try from local environment\n",
"\n",
"1. Make sure you have Python installed. Follow the guide in the official Python documentation on how to do it for different operating systems: [Windows](https://docs.python.org/3/using/windows.html#installation-steps), [Mac](https://docs.python.org/3/using/mac.html#getting-and-installing-macpython), or [Unix](https://docs.python.org/3/using/unix.html#getting-and-installing-the-latest-version-of-python) systems. \n",
"2. Considering you have Git installed. Try cloning this repository: `git clone https://github.com/debakarr/intermediate-python.git`\n",
"3. I would recommend creating a `virtual environment` to install the dependencies: `python -m venv .venv`\n",
"4. Activate virtual environment: On Windows `.venv\\Scripts\\activate` and on Linux `source .venv/bin/activate`\n",
"2. Considering you have Git installed. Try cloning this repository: `git clone https://github.com/debakarr/intermediate-python.git` and change the current working directory to the clone local repository.\n",
"3. I would recommend creating a `virtual environment` to install the dependencies: \n",
" - In Windows: `py -3.8 -m venv .venv`\n",
" - In Linux: `python3.8 -m venv .venv`\n",
"4. Activate virtual environment: \n",
" - In Windows `.venv\\Scripts\\activate` \n",
" - In Linux `source .venv/bin/activate`\n",
"5. Install all the dependencies in the virtual environment: `pip install -r requirements.txt`\n",
"6. Run Jupyter Lab: `jupyter lab`"
"6. Run Jupyter Lab: `jupyter lab`\n",
"\n",
"You can also use [`uv`](https://github.com/astral-sh/uv) to set up virtual environment and run the notebook locally.\n",
"\n",
"<details><summary>Using uv</summary>\n",
"\n",
"```console\n",
"$ uv venv -p 3.8\n",
"Using Python 3.8.10 interpreter at C:\\Python38\\python.exe\n",
"Creating virtualenv at: .venv\n",
"$ .\\.venv\\Scripts\\activate\n",
"$ uv pip install -r .\\requirements.txt\n",
"Resolved 142 packages in 4.48s\n",
"Downloaded 2 packages in 2.27s\n",
"Installed 142 packages in 22.58s\n",
" + anyio==4.3.0\n",
" + argon2-cffi==23.1.0\n",
" + argon2-cffi-bindings==21.2.0\n",
" + arrow==1.3.0\n",
" + asttokens==2.4.1\n",
" + async-lru==2.0.4\n",
" + attrs==23.2.0\n",
" + babel==2.14.0\n",
" + backcall==0.2.0\n",
" + beautifulsoup4==4.12.3\n",
" + black==24.2.0\n",
" + bleach==6.1.0\n",
" + bqplot==0.12.43\n",
" + branca==0.7.1\n",
" + certifi==2024.2.2\n",
" + cffi==1.16.0\n",
" + charset-normalizer==3.3.2\n",
" + click==8.1.7\n",
" + cloudpickle==3.0.0\n",
" + colorama==0.4.6\n",
" + comm==0.2.1\n",
" + contourpy==1.1.1\n",
" + cycler==0.12.1\n",
" + debugpy==1.8.1\n",
" + decorator==5.1.1\n",
" + defusedxml==0.7.1\n",
" + doit==0.36.0\n",
" + exceptiongroup==1.2.0\n",
" + executing==2.0.1\n",
" + fastjsonschema==2.19.1\n",
" + fonttools==4.49.0\n",
" + fqdn==1.5.1\n",
" + idna==3.6\n",
" + importlib-metadata==7.0.2\n",
" + importlib-resources==6.1.3\n",
" + ipycanvas==0.13.1\n",
" + ipyevents==2.0.2\n",
" + ipykernel==6.29.3\n",
" + ipyleaflet==0.18.2\n",
" + ipympl==0.9.3\n",
" + ipython==8.12.3\n",
" + ipython-genutils==0.2.0\n",
" + ipywidgets==8.1.2\n",
" + isoduration==20.11.0\n",
" + jedi==0.19.1\n",
" + jinja2==3.1.3\n",
" + json5==0.9.22\n",
" + jsonpointer==2.4\n",
" + jsonschema==4.21.1\n",
" + jsonschema-specifications==2023.12.1\n",
" + jupyter-client==8.6.0\n",
" + jupyter-core==5.7.1\n",
" + jupyter-events==0.9.0\n",
" + jupyter-lsp==2.2.4\n",
" + jupyter-server==2.13.0\n",
" + jupyter-server-terminals==0.5.2\n",
" + jupyterlab==4.0.13\n",
" + jupyterlab-fasta==3.3.0\n",
" + jupyterlab-geojson==3.4.0\n",
" + jupyterlab-language-pack-fr-fr==4.1.post0\n",
" + jupyterlab-language-pack-zh-cn==4.1.post0\n",
" + jupyterlab-miami-nights==0.4.1\n",
" + jupyterlab-night==0.4.6\n",
" + jupyterlab-pygments==0.3.0\n",
" + jupyterlab-server==2.25.3\n",
" + jupyterlab-widgets==3.0.10\n",
" + jupyterlite-core==0.2.3\n",
" + jupyterlite-javascript-kernel==0.2.3\n",
" + jupyterlite-p5-kernel==0.1.0\n",
" + jupyterlite-pyodide-kernel==0.2.3\n",
" + jupyterlite-xeus-lua==0.3.1\n",
" + jupyterlite-xeus-sqlite==0.2.1\n",
" + kiwisolver==1.4.5\n",
" + markupsafe==2.1.5\n",
" + matplotlib==3.7.5\n",
" + matplotlib-inline==0.1.6\n",
" + mistune==3.0.2\n",
" + mypy-extensions==1.0.0\n",
" + nbclient==0.9.0\n",
" + nbconvert==7.16.2\n",
" + nbformat==5.9.2\n",
" + nest-asyncio==1.6.0\n",
" + notebook==7.0.8\n",
" + notebook-shim==0.2.4\n",
" + numpy==1.24.4\n",
" + overrides==7.7.0\n",
" + packaging==24.0\n",
" + pandas==2.0.3\n",
" + pandocfilters==1.5.1\n",
" + parso==0.8.3\n",
" + pathspec==0.12.1\n",
" + pickleshare==0.7.5\n",
" + pillow==10.2.0\n",
" + pkginfo==1.10.0\n",
" + pkgutil-resolve-name==1.3.10\n",
" + platformdirs==4.2.0\n",
" + plotly==5.19.0\n",
" + prometheus-client==0.20.0\n",
" + prompt-toolkit==3.0.43\n",
" + psutil==5.9.8\n",
" + pure-eval==0.2.2\n",
" + pycparser==2.21\n",
" + pygments==2.17.2\n",
" + pyparsing==3.1.2\n",
" + python-dateutil==2.9.0.post0\n",
" + python-json-logger==2.0.7\n",
" + pytz==2024.1\n",
" + pywin32==306\n",
" + pywinpty==2.0.13\n",
" + pyyaml==6.0.1\n",
" + pyzmq==25.1.2\n",
" + referencing==0.33.0\n",
" + requests==2.31.0\n",
" + rfc3339-validator==0.1.4\n",
" + rfc3986-validator==0.1.1\n",
" + rpds-py==0.18.0\n",
" + send2trash==1.8.2\n",
" + six==1.16.0\n",
" + sniffio==1.3.1\n",
" + soupsieve==2.5\n",
" + stack-data==0.6.3\n",
" + tabulate==0.9.0\n",
" + tenacity==8.2.3\n",
" + terminado==0.18.0\n",
" + tinycss2==1.2.1\n",
" + tokenize-rt==5.2.0\n",
" + tomli==2.0.1\n",
" + tornado==6.4\n",
" + traitlets==5.14.1\n",
" + traittypes==0.2.1\n",
" + types-python-dateutil==2.8.19.20240106\n",
" + typing-extensions==4.10.0\n",
" + tzdata==2024.1\n",
" + uri-template==1.3.0\n",
" + urllib3==2.2.1\n",
" + wcwidth==0.2.13\n",
" + webcolors==1.13\n",
" + webencodings==0.5.1\n",
" + websocket-client==1.7.0\n",
" + widgetsnbextension==4.0.10\n",
" + xyzservices==2023.10.1\n",
" + zipp==3.17.0\n",
"```\n",
"\n",
"</details>\n",
"\n",
"\n"
]
},
{
Expand Down Expand Up @@ -153,7 +318,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.8.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit b136733

Please sign in to comment.