This commit is contained in:
Timothy J. Baek 2024-05-20 19:20:49 -07:00
parent 54677a3374
commit 23859756d8
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
try {
const micropip = pyodide.pyimport('micropip');
await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
// await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
let packages = [
code.includes('requests') ? 'requests' : null,

View File

@ -42,7 +42,7 @@ async function loadPyodideAndPackages(packages: string[] = []) {
const micropip = self.pyodide.pyimport('micropip');
await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
// await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
await micropip.install(packages);
}