Skip to content

Commit

Permalink
More fixes for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp committed Jan 13, 2024
1 parent 45e45a1 commit 6aed4d3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion partcad/src/partcad/runtime_python_conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,16 @@ def run(self, cmd, stdin=""):
"python=%s" % self.version,
]
)
subprocess.run(["conda", "install", "-y", "-p", self.path, "pip"])
subprocess.run(
[
self.conda_path,
"install",
"-y",
"-p",
self.path,
"pip",
]
)
self.initialized = True
except Exception as e:
shutil.rmtree(self.path)
Expand Down

0 comments on commit 6aed4d3

Please sign in to comment.