mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Update live_code.ipynb
This commit is contained in:
parent
68114e395f
commit
57a6e8ad7c
1 changed files with 9 additions and 7 deletions
|
|
@ -124,12 +124,7 @@
|
|||
"\n",
|
||||
"This will install the packages: Micropip will look at the Pyodide package index, but also at the general PyPi index. If a package is pure python (i.e. no C extensions), then it can also be used by Pyodide.\n",
|
||||
"\n",
|
||||
"If the packages are not included in Pyodide, you can use `pip:\n",
|
||||
"\n",
|
||||
"```python\n",
|
||||
"%pip install package_name\n",
|
||||
"```\n",
|
||||
"\n",
|
||||
"### Custom packages\n",
|
||||
"If you have some custom packages you can also create a wheel to import. Therefore, create a wheel from your package by running this in the root directoy of your package: \n",
|
||||
"\n",
|
||||
"```shell\n",
|
||||
|
|
@ -143,7 +138,14 @@
|
|||
"await micropip.install('<directory>/<something>.whl')\n",
|
||||
"```\n",
|
||||
"\n",
|
||||
"Preferably with the tag `thebe-remove-input-init`."
|
||||
"Preferably with the tag `thebe-remove-input-init`.\n",
|
||||
"\n",
|
||||
"### Other packages not in Pyodide but on PyPI\n",
|
||||
"If the packages are not included in Pyodide, you can use `pip:\n",
|
||||
"\n",
|
||||
"```python\n",
|
||||
"%pip install package_name\n",
|
||||
"```"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue