Skip to content

Vowpalwabbit python wrappers do not build or crashes on OSX with Anaconda #2100

@peterychang

Description

@peterychang

There is a known issue on OSX 10.14+ with the currently deployed version of python on Anaconda.

The problem is as follows:

  • Python requires linking binaries (eg: VW) to also link against the same c++ library it did.
  • Anaconda builds python against an older version of OSX and links against libstdc++
  • libstdc++ was deprecated by Apple/Clang several years ago. And as of OSX 10.14, the library was removed entirely.

As a result, VW will typically fail to compile or install on the latest version of OSX. Using compiler options to force the use of libc++ will cause python to crash.

At the moment, the only resolutions available to users are to either uninstall Anaconda and use Homebrew or to copy the missing libraries from an older version of xcode.

We are currently exploring ways to resolve these compatibility issues, but there does not appear to be a quick or easy solution to the problem.

If this is a critical issue for you, please feel free to reach out to us so we can see if there is an individual solution that may work.

We also welcome anybody who would like to contribute to the resolution of this issue.

Metadata

Metadata

Assignees

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