I’ve been trying to install flair (version 3.1-7) together with flair-geoviewer (3.1-7) in my MacOS (Catalina 10.15.7), having a Python version 3.7.9. I followed the installation steps, but when I try to open it, I get the following segmentation fault
I found a similar issue in the forum, but, in my case, installing with gcc8 doesn’t solve the problem. I would appreciate any help very much with this issue.
Thank you very much for the reply. I get the following:
which python3 /Users/yfperezg/.pyenv/shims/python3
When I try lsof | grep libxcb, I don’t get anything back. I’m not sure if closed the X server application correctly. Could you please indicate to me how to do it?
it looks like that the python3 executable is not pointing to the MacPorts installation.
Normally, it should be /opt/local/bin/python3, unless you have customised the MacPorts installation.
If you didn’t perform a custom installation, then you need to check the environment variable PATH with the following command: env | grep PATH. This variable should contain the path to the MacPorts directories, i.e. /opt/local/bin/ (and /opt/local/sbin/).
Normally, PATH should be automatically updated in your shell configuration file by the MacPorts installation.
In my case, it is ~/.bash_profile. In your case it might be a different one, depending on the shell you use.
Verify which is your shell configuration file and check if there is the following line export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
If not add this line to shell configuration file, launch a new Terminal and test again Flair.
In case Flair does not work, please send me the output of these commands which python3 which port env | grep PATH env | grep SHELL
Let’s check all that before addressing point 2 of my previous email.