Browse Source

Fix pip upgrade

tags/v0.3.1-rc5
haixuanTao 2 years ago
parent
commit
ed83fe05c1
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      examples/python-dataflow/run.rs
  2. +2
    -2
      examples/python-operator-dataflow/run.rs
  3. +2
    -2
      examples/python-ros2-dataflow/run.rs

+ 2
- 2
examples/python-dataflow/run.rs View File

@@ -51,8 +51,8 @@ async fn main() -> eyre::Result<()> {
}

run(
get_pip_path().context("Could not get pip binary")?,
&["install", "--upgrade", "pip"],
get_python_path().context("Could not get pip binary")?,
&["-m", "pip", "install", "--upgrade", "pip"],
None,
)
.await


+ 2
- 2
examples/python-operator-dataflow/run.rs View File

@@ -51,8 +51,8 @@ async fn main() -> eyre::Result<()> {
}

run(
get_pip_path().context("Could not get pip binary")?,
&["install", "--upgrade", "pip"],
get_python_path().context("Could not get pip binary")?,
&["-m", "pip", "install", "--upgrade", "pip"],
None,
)
.await


+ 2
- 2
examples/python-ros2-dataflow/run.rs View File

@@ -51,8 +51,8 @@ async fn main() -> eyre::Result<()> {
}

run(
get_pip_path().context("Could not get pip binary")?,
&["install", "--upgrade", "pip"],
get_python_path().context("Could not get pip binary")?,
&["-m", "pip", "install", "--upgrade", "pip"],
None,
)
.await


Loading…
Cancel
Save