Skip to content

Commit

Permalink
Fix pip error 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiriox94 committed Nov 8, 2024
1 parent 5d47bf0 commit 0245736
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ var translation = csvToJSON(translationFile);
};

if (config.pythonDependencies.length > 0) {
exec(`${process.platform === 'win32' ? "pip" : "pip3"} install ${config.pythonDependencies.join(" ")}`)
exec("python -m pip install --upgrade pip")
exec(`python -m pip install ${config.pythonDependencies.join(" ")}`)
}

async function getRelease(link, desiredFiles) {
Expand Down

0 comments on commit 0245736

Please sign in to comment.