question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pulsar Client has no support in Mac 10.14.5 (18F132) ?

See original GitHub issue

Describe the bug Python Pulsar Client say import _pulsar ImportError Reason: image not found

To Reproduce Steps to reproduce the behavior: In Mac: pip install pulsar-client --upgrade

python consumer.py

Traceback (most recent call last):
  File "consumer.py", line 1, in <module>
    import pulsar
  File "/Users/chethan/anaconda3/lib/python3.7/site-packages/pulsar/__init__.py", line 99, in <module>
    import _pulsar
ImportError: dlopen(/Users/chethan/anaconda3/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so, 2): Library not loaded: /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Python
  Referenced from: /Users/chethan/anaconda3/lib/python3.7/site-packages/_pulsar.cpython-37m-darwin.so
  Reason: image not found

Desktop (please complete the following information):

  • OS: Mac 10.14.5 (18F132)

Additional context Tried in both normal env and Conda env: 3.7, 2.7

Whats the possible solution?

Also, In official docs: pip install pulsar-client==2.3.2 But, I got error while installing: Collecting pulsar-client==2.3.2

  ERROR: Could not find a version that satisfies the requirement pulsar-client==2.3.2 (from versions: 1.18.dev1, 1.19.dev1, 1.19.dev2, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 2.3.0.post1, 2.3.1)
ERROR: No matching distribution found for pulsar-client==2.3.2

Thanks!.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
cabellocommented, Dec 23, 2019

I also tried compiling & installing the Python library from source after brew install libpulsar MacOS C++ libraries documentation and Python documentation but I got the following error:

pulsar-env ❯ python setup.py install
running install
running bdist_egg
running egg_info
writing pulsar_client.egg-info/PKG-INFO
writing dependency_links to pulsar_client.egg-info/dependency_links.txt
writing requirements to pulsar_client.egg-info/requires.txt
writing top-level names to pulsar_client.egg-info/top_level.txt
reading manifest file 'pulsar_client.egg-info/SOURCES.txt'
writing manifest file 'pulsar_client.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.14-x86_64/egg
running install_lib
running build_py
running build_ext
error: [Errno 2] No such file or directory: '_pulsar.so'
4reactions
aahmed-secommented, Nov 27, 2019

@nathan-zhu try this

pip3 install pulsar-client==2.4.1.post1
Read more comments on GitHub >

github_iconTop Results From Across the Web

Pulsar Client has no support in Mac 10.14.5 (18F132)
lxy1992 edited a comment on issue #4540: Pulsar Client has no support in Mac 10.14.5 (18F132) ?
Read more >
Pulsar C++ client
Pulsar C++ client is supported on Linux and MacOS platforms. Linux​. Since 2.1.0 release, Pulsar ships pre-built RPM and Debian packages.
Read more >
Download macOS Mojave 10.14.5 Update - Apple Support
The macOS Mojave 10.14.5 update improves the stability and reliability of your Mac, and is recommended for all users. This update:.
Read more >
3DConnexion Drivers for Mac OS Mojave - Page 4
OS: macOS Mojave 10.14.5 (18F132) Driver: 3DxWare 10.6.2. After countless uninstall and reinstall there is no Allow button... Image.
Read more >
macOS 10.14.5 Update | tonymacx86.com
Initial support for AMD Radeon VII graphics cards; NVIDIA Alternate Graphics Drivers have NOT been updated for macOS Mojave.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found