Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh committed Dec 23, 2024
1 parent cbe96e6 commit 161f92d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/http-client-python/eng/scripts/setup/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ async function main() {

async function installPyodideDeps() {
const root = path.join(dirname(fileURLToPath(import.meta.url)), "..", "..", "..");
const pyodide = await loadPyodide({ indexURL: path.join(root, "node_modules", "pyodide") });
const pyodide = await loadPyodide({
indexURL: path.dirname(fileURLToPath(import.meta.resolve("pyodide"))),
});
await pyodide.loadPackage("micropip");
const micropip = pyodide.pyimport("micropip");
const requirementsPath = path.join(root, "generator", "requirements.txt");
Expand Down

0 comments on commit 161f92d

Please sign in to comment.