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

Fix for macOS pip3 install fails #35

Open
Purp1eW0lf opened this issue Sep 29, 2023 · 1 comment
Open

Fix for macOS pip3 install fails #35

Purp1eW0lf opened this issue Sep 29, 2023 · 1 comment

Comments

@Purp1eW0lf
Copy link

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 
@gleeda
Copy link

gleeda commented Nov 10, 2023

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/python@3.11/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 

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

2 participants