You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was facing this same issue when installing gperftools in the GitHub CI via brew. The solution I found here was to set the DYLD_LIBRARY_PATH to the lib directory of the installed package, so the libprofiler library could be found by python, i.e.:
I am trying to use yep in my Macbook.
Actually, I wanted to use gperftools.
I installed google-perftools using brew.
% brew install google-perftools
% pkg-config --libs libprofiler
-L/opt/homebrew/Cellar/gperftools/2.9.1_1/lib -lprofiler
When I tried to install yep by typing "python setup.py install", an error message appeared.
error: ImportError: Unable to find libprofiler, please make sure google-perftools is installed on your system
I thought that location of lib profiler in my computer could raise the error to install yep.
I also tried to run following: ctypes.util.find_library('profiler')
It could not find any libprofiler.
How can I fix my problem?
Thank you for reading.
The text was updated successfully, but these errors were encountered: