Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed on build mac OSX 10.12 - 'mutex' file not found #50

Open
alonraiz opened this issue Feb 23, 2017 · 2 comments
Open

Failed on build mac OSX 10.12 - 'mutex' file not found #50

alonraiz opened this issue Feb 23, 2017 · 2 comments

Comments

@alonraiz
Copy link

/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/re2.cpp -o build/temp.macosx-10.6-intel-2.7/src/re2.o -std=c++11 In file included from src/re2.cpp:202: /usr/local/include/re2/re2.h:186:10: fatal error: 'mutex' file not found #include <mutex> ^ 1 error generated. error: command '/usr/bin/clang' failed with exit status 1

@Alienover
Copy link

actually, I did meet this problem before, but finally , I try to install re3 which is the new version of re2. It worked. And everything is going fine now.
after you install the re3, the process of importing this library is the same

like:

> import re2

The re2 , what we're going to install , is the version 0.2.22 and the re3 is the version 0.2.23.

Hopefully, this will help you!

@bestmethod
Copy link

Not on a mac - osx 10.13.5

$ pip3 install re3
Collecting re3
Could not find a version that satisfies the requirement re3 (from versions: )
No matching distribution found for re3

Works with python2, not with python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants