Skip to content

Commit 08e5e59

Browse files
committed
fix: warning message
1 parent 12161e0 commit 08e5e59

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

setup/code-runners.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ export default defineCodeRunnersSetup(() => {
9393
html: [
9494
`<div class="text-red">${matchNotFoundError[0]}</div>`,
9595
`<div class="text-blue">Tip: This may because of this package is not a <a href="https://pyodide.org/en/stable/usage/packages-in-pyodide.html">Pyodide builtin package</a>.`,
96-
"<br>You may need to install it by running the following code:",
97-
`<pre>&nbsp;&nbsp;import micropip;<br>&nbsp;&nbsp;micropip.install('${matchNotFoundError[1]}')</pre>`,
96+
"<br>You may need to install it by adding the package name to the `python.installs` array in your headmatter.",
9897
`</div>`
9998
].join('')
10099
})

0 commit comments

Comments
 (0)