Skip to content

Commit

Permalink
Fix pip
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed Aug 31, 2023
1 parent 0df8859 commit 5086ba5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/label-studio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class LabelStudio < Formula
depends_on "[email protected]" # Apple's Pypthon distribution does not include pip

def install
venv = virtualenv_create(libexec, "python3", system_site_packages: true)
python3 = "python3.10"
venv = virtualenv_create(libexec, python3, system_site_packages: true, without_pip: false)
system libexec/"bin/pip", "install", "--verbose", "--upgrade", "pip==22.3.1"
system libexec/"bin/pip", "install", "--verbose", "--ignore-installed", buildpath
system libexec/"bin/pip", "uninstall", "-y", "label-studio"
Expand Down

0 comments on commit 5086ba5

Please sign in to comment.