FMPy icon indicating copy to clipboard operation
FMPy copied to clipboard

Installing using Conda on macOS 14.0 Apple Silicon fails

Open moe93 opened this issue 2 years ago • 13 comments

Using conda install -c conda-forge fmpy to install fmpy, the following error message is produced:

$ conda install -c conda-forge fmpy

Collecting package metadata (current_repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve. Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source. Collecting package metadata (repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve. Solving environment: | Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

  • feature:/osx-arm64::__osx==14.0=0
  • feature:|@/osx-arm64::__osx==14.0=0
  • fmpy -> matplotlib-base -> __osx[version='>=10.9']

Your installed version is: 14.0

I have Miniconda installed through homebrew, using macOS 14.0 M1 Pro.

moe93 avatar Oct 26 '23 02:10 moe93

Can you try python -m pip install fmpy to install from PyPI?

t-sommer avatar Oct 26 '23 05:10 t-sommer

Using pip install fmpy[complete] fails with no matches found.

Using pip install fmpy works but then I have to manually install all the PyQt dependancies, which eventually fails as well because it keeps complaining about a bunch of Qt platform plugins that I am not even sure how to start on hacking around to get it to work.

moe93 avatar Oct 26 '23 19:10 moe93

Can you install PySide6 on Apple Silicon? I'm asking because we're considering switching and this would be another reason to do so.

t-sommer avatar Oct 26 '23 20:10 t-sommer

It seems that PySide6 is available as a brew install for Apple Silicon. I will attempt installation tomorrow and will update you here.

moe93 avatar Oct 27 '23 03:10 moe93

PySide6 installs successfully on Apple Silicon, I have no issues running it in a venv/conda environments. However, running fmpy.gui still fails

moe93 avatar Oct 27 '23 21:10 moe93

conda-forge relies on the .whl for now which doesnt have the required binaries anyway we will need #617 and #619 to be resolved until we can build from source on conda-forge

jschueller avatar Nov 05 '23 10:11 jschueller

Hi are there any updates on the fmpy.gui support for Apple Silicon? I was trying to run it after installing fmpy but I am getting the same errors cited above regarding PyQt5.

valerianoCarlos avatar Jul 22 '24 15:07 valerianoCarlos