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

Adding installation guidelines for macos #3

Open
leland45 opened this issue Nov 15, 2024 · 0 comments
Open

Adding installation guidelines for macos #3

leland45 opened this issue Nov 15, 2024 · 0 comments

Comments

@leland45
Copy link

leland45 commented Nov 15, 2024

Thanks for your incredible work on pyBar. As a mac user, I suggest to add installation guidelines for macos in the INSTALL.txt file. Here is a suggestion, which worked for me (macbook air m1, macOS ventura 13.6.9)

How to install pyBar on macos ??

I) prepare the python environment on mac
a) install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

b) Install Python 3, Pip
brew install python
python3 --version #check python3 install
pip3 --version #check pip3 install. If missing : python3 -m ensurepip --upgrade

c) Install dependencies (PyGObject for Modern GTK+ 3 and numpy)
brew install pygobject3
pip3 install PyGObject

pip3 install numpy

II) Download and tweak pyBar files
a) Download pyBar sources from http://pybar.fr/download.html
b) unzip pyBar.zip in /Applications folder -> there is now a pyBar3.4 folder in /Applications
c) open the file pyBar with a text editor, and modify command /usr/bin/python3 $BASEDIR/pyBar.py to use the desired version of python (for which you installed dependencies)
d) double-click on the file pyBar to launch pyBar. You can also create an alias

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

1 participant