stringsifter icon indicating copy to clipboard operation
stringsifter copied to clipboard

Fix for macOS pip3 install fails

Open Purp1eW0lf opened this issue 2 years ago • 1 comments

macOS install can trip up on lightgbm install section. Folks failing to install should try the following in this order:

pip3 install Cmake
#requires brew     
brew install libomp
pip3 install lightgbm
#then install stringsfter
pip3 install stringsifter 

Purp1eW0lf avatar Sep 29 '23 14:09 Purp1eW0lf

If you still have issues installing this on macOS, it might be that it's installing under the wrong version of python. You can check this like so:

% cat `which pip3`
#!/usr/local/opt/[email protected]/bin/python3.11

[snip]

% which python3 
/usr/bin/python3

To get around this, you can run the pip statements like this instead:

python3 -m pip install Cmake
#requires brew     
brew install libomp
python3 -m pip install lightgbm
#then install stringsfter
python3 -m pip install stringsifter 

gleeda avatar Nov 10 '23 19:11 gleeda