Open shanling2004 opened 6 years ago
Same here.
use py-amqp instead
Getting the same problem when trying to install librabbitmq
version 2.0.0
. Any help would highly be appreciated.
Env:
MacOS High Sierra 10.13.6
Python 3.6.4
I've hit a brick wall here too:
I'm running into this, spent the morning trying various means to install librabbitmq to no luck
Is there an how-to install on OSX? Im on python 3.6, virtual-env
I've installed:
brew install autoconf brew install automake brew install pkg-config Ive tried:
git clone https://github.com/celery/librabbitmq.git cd librabbitmq git submodule init git submodule update
pip, pip3, easy_install.. same deal every time error: command 'clang' failed with exit status 1
same deal here, building on OSX High Sierra 10.13.6
Hi, seeing the same. Also on 10.13.6.
It seems to be a problem in the rabbitmq-c configure, or in the case of #121 autoconf isn't available at all. In either case, HAVE_HTONLL doesn't get defined, and that messes stuff up.
I'm going to open a issue on the rabbitmq-c side.
I've hit a brick wall here too:
I'm running into this, spent the morning trying various means to install librabbitmq to no luck
Is there an how-to install on OSX? Im on python 3.6, virtual-env
I've installed:
brew install autoconf brew install automake brew install pkg-config Ive tried:
git clone https://github.com/celery/librabbitmq.git cd librabbitmq git submodule init git submodule update
pip, pip3, easy_install.. same deal every time error: command 'clang' failed with exit status 1
I tried your solution and after brew install automake
, librabbitmq is installed successfully, same python version and librabbitmq version as yours, but my Mac version is 10.14
git clone https://github.com/celery/librabbitmq.git cd librabbitmq python setup.py install
Getting the same failure with:
Installing autoconf and automake made no difference.
Installing by cloning the git repo as described in the previous comment gives the same error (not surprisingly).
use sudo pip install
I was able to get it to build by using Xcode Command Line Tools 10.2. Can anyone else confirm that it works for them?
@bjackson That one did it for me. I installed the beta tools and the library built OK.
I have the same problem, so, how do you resolve it ? My environment is : python3.6.3 pip18.1 macOS 10.13.2
@bjackson How do you mean? You used de Command tools?
@StijnCazou and @wjzhao, you will need to upgrade your Xcode Command Line Tools to 10.2. The upgraded command line tools might include a fix that allows librabbitmq-c to build.
You can download Xcode Command Line Tools 10.2 here: https://developer.apple.com/download/more/
@bjackson Thank you, I have resolve the problem by your way~~
I switched to Redis in the end. :(
@bjackson Doesn't work for me...
My env is:
macOS Mojave 10.14.3
python 3.7.0
I solved this problem by:
brew install autoconf
brew install automake
brew install pkg-config
@creslinux @huanghe314
You also need libtool to build under macOS:
brew install autoconf
brew install automake
brew install pkg-config
brew install libtool
pip install librabbitmq
brew install libtool
like @Kronuz said is what fixed it for me!
It's 2020, and I had a similar issue as described above. Only the full commands that @Kronuz shared fixed it.
brew install autoconf automake pkg-config libtool
pip install librabbitmq
It's 2020/08/31, and for some unknown reason Apple pushed the #Xcode12 Beta 5 (build 12A8189h, requires macOS 10.15.4+)
to my MacBook and afterward Clang 12.0.0 (1200.0.31.1)
was installed then causing compiling error in pip install librabbitmq
.
Need to rollback to Command Line Tools for Xcode 11.5
(download here) to resolve this issue.
2020/12/20
Under Big Sur, recommended brew packages doesn't solve the issue and Mac OS doesn't allow to downgrade xcode version by saying "Your Mac OS version is too new for this version.".
please use py-amqp as this library is not recommended anymore. py-amqp also has some cython bindings
@auvipy Not recommended by who?
@auvipy Not recommended by who?
by @celery/core-developers
@auvipy Thanks a lot. Is this mentioned in celery docs, how can i get detailed info on this?
Same issue on Big Sur.
brew install autoconf automake pkg-config libtool
does not solve the problem.
Same here on Big Sur
Any help on this issue? brew install autoconf automake pkg-config libtool
these installations dont work.
2020/12/20
Under Big Sur, recommended brew packages doesn't solve the issue and Mac OS doesn't allow to downgrade xcode version by saying "Your Mac OS version is too new for this version.".
could you solve this issue @ulgens
Any help on this issue?
brew install autoconf automake pkg-config libtool
these installations dont work.
This does not work for me :(
Hi Folks!
I am facing the same issue. My GCC version is -
hvarday$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
I have verified and the "--with-gxx-include-dir" path does not exist Any help would be appreciated at this point
was this never resolved?
My issue was resolved by this
Python: 3.10 Macos: 13.4 librabbitmq: 2.0.0
It's 2020, and I had a similar issue as described above. Only the full commands that @Kronuz shared fixed it.
brew install autoconf automake pkg-config libtool pip install librabbitmq
Env:
$ pip install librabbitmq==2.0.0