Skip to content

Commit

Permalink
Replace python with python3 (#190) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
FabijanC committed Aug 19, 2022
1 parent e53cf0b commit 478cf16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/starknet-wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,13 +538,13 @@ export class VenvWrapper extends StarknetWrapper {
if (venvPath === "active") {
console.log(`${PLUGIN_NAME} plugin using the active environment.`);
this.starknetCompilePath = "starknet-compile";
this.pythonPath = "python";
this.pythonPath = "python3";
} else {
venvPath = normalizeVenvPath(venvPath);
console.log(`${PLUGIN_NAME} plugin using environment at ${venvPath}`);

this.starknetCompilePath = getPrefixedCommand(venvPath, "starknet-compile");
this.pythonPath = getPrefixedCommand(venvPath, "python");
this.pythonPath = getPrefixedCommand(venvPath, "python3");
}

this.starknetVenvProxy = new StarknetVenvProxy(this.pythonPath);
Expand Down

0 comments on commit 478cf16

Please sign in to comment.