Skip to content

OSX, brew install failed to detect successful installation of [qt5] #490

@hnipps

Description

@hnipps

Running this command:

MacBook:ros_catkin_ws user$ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y`
executing command [brew install qt5]
Warning: qt5-5.7.0 already installed
ERROR: the following rosdeps failed to install
   homebrew: Failed to detect successful installation of [qt5]

I also get this stacktrace, but I understand it might be caused by another, unrelated issue:

rosdep version: 0.11.5

Traceback (most recent call last):

 File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 136, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 353, in _rosdep_main
    return _package_args_handler(command, parser, options, args)
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 447, in _package_args_handler
    return command_handlers[command](lookup, packages, options)
  File "/usr/local/lib/python2.7/site-packages/rosdep2/main.py", line 634, in command_install
    print("uninstalled dependencies are: [%s]"%(', '.join([', '.join(pkg) for pkg in [v for k,v in uninstalled]])))
TypeError: sequence item 0: expected string, HomebrewResolution found

I installed pyqt5 separately via this command:
brew install pyqt5 --with-python

And Homebrew tells me pyqt5 is installed:

brew info pyqt5
pyqt5: stable 5.7 (bottled)
Python bindings for v5 of Qt
https://www.riverbankcomputing.com/software/pyqt/download5
/usr/local/Cellar/pyqt5/5.7 (901 files, 42.9M) *
  Built from source on 2016-11-24 at 16:03:51 with: --with-python
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/pyqt5.rb
==> Dependencies
Required: qt5 ✔, sip --with-python3 ✔
==> Requirements
Recommended: python3 ✔
Optional: python ✔
==> Options
--with-debug
	Build with debug symbols
--with-docs
	Install HTML documentation and python examples
--with-python
	Build with python support
--without-python3
	Build without python3 support

Any idea what's going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions