Installation of Matplotlib (Flair) on Mac

Hi,
I have to install Flair on my MacBook Pro to run FLUKA correctly. In the requirements on the Flair’s site, I read that matplotlib hat to be installed with a terminal command that is shown below: sudo port install py3[version]-matplotlib +tkinter, and instead of [version] I put 9 which is my version of python. If I do this, the following message appears:
—> Computing dependencies for py39-matplotlib

Error: Can’t install libgcc-devel because conflicting ports are active: libgcc

Error: Follow MacPorts Guide if you believe there

is a bug.

Error: Processing of port py39-matplotlib failed

I can’t understand why it says “conflicting ports are active”, because I have installed only one port from MacPorts.

Thank you for your attention.

Hello @matteo.sioli ,

for what I can see on my installation, the port py39-matplotlib should not depend on libgcc-devel.
Have you tried to update MacPorts with the command
sudo port selfupdate?

Cheers Luigi

Thanks for your answer,
but unfortunately if I try to execute the command “sudo port selfupdate”, this is what I obtain:
—> Updating MacPorts base sources using rsync

Error: Error synchronizing MacPorts sources: command execution failed

Please run `port -v selfupdate’ for details.

Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

I don’t know what’s wrong with my system…

Hello @matteo.sioli

maybe it’s a network problem: are you behind a firewall?

Did you you use the prepend sudo to the MacPort command?