Skip to content

Commit

Permalink
Attempt to fix the following issue related to python that is an openc…
Browse files Browse the repository at this point in the history
…v dependency

==> Installing opencv dependency: [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.1_1
Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/873ca0611888231c4efc2640b01a3d1db221765a1e4af903b95cfa72f4b42e90--python@3.12-3.12.1_1.bottle_manifest.json
==> Pouring [email protected]_1.ventura.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3-3.12
Target /usr/local/bin/2to3-3.12
already exists. You may want to remove it:
  rm '/usr/local/bin/2to3-3.12'

To force the link and overwrite all conflicting files:
  brew link --overwrite [email protected]

To list all files that would be deleted:
  brew link --overwrite --dry-run [email protected]

Possible conflicting files are:
/usr/local/bin/2to3-3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/2to3-3.12
/usr/local/bin/idle3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/idle3.12
/usr/local/bin/pydoc3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
/usr/local/bin/python3.12 -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
/usr/local/bin/python3.12-config -> /Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
  • Loading branch information
fspindle committed Jan 24, 2024
1 parent 4851925 commit 7d100cd
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,27 @@ jobs:
- name: Print OS information
run: system_profiler SPSoftwareDataType

- name: Install dependencies
run: brew install libpng libjpeg-turbo libdc1394 opencv pcl librealsense zbar pkg-config nlohmann-json
- name: Install dependencies on macos-12
if: matrix.os == 'macos-12'
run: |
brew install libpng libjpeg-turbo libdc1394 opencv pcl librealsense zbar pkg-config nlohmann-json
- name: Install dependencies on macos-13
# On macos-13 we need to do a specific action
# ==> Pouring [email protected]_1.ventura.bottle.tar.gz
# Error: The `brew link` step did not complete successfully
# The formula built, but is not symlinked into /usr/local
# Could not symlink bin/2to3-3.12
# Target /usr/local/bin/2to3-3.12
# already exists. You may want to remove it:
# rm '/usr/local/bin/2to3-3.12'
#
# To force the link and overwrite all conflicting files:
# brew link --overwrite [email protected]
if: matrix.os == 'macos-13'
run: |
brew install libpng libjpeg-turbo libdc1394 opencv pcl librealsense zbar pkg-config nlohmann-json
brew link --overwrite [email protected]
- name: Install java dependencies
run: |
Expand Down

0 comments on commit 7d100cd

Please sign in to comment.