Reputation: 53
I am try ing to install symfit on a MacBook Pro M1 using miniforge, for processor compatibility as pip3 install symfit
results into errors. However, when running conda install -c conda-forge symfit
, I get:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- symfit
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
- https://conda.anaconda.org/conda/osx-arm64
- https://conda.anaconda.org/conda/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
When doing so, I find that symfit is available in the conda-forge channel! Why can't it be installed from the command line?
Upvotes: 4
Views: 18442
Reputation: 76890
At the time of the question, the Conda Forge feedstock for symfit was not building for osx-arm64 platform. After an issue being filed on the feedstock, one of the maintainers updated the feedstock to generate noarch
builds (platform agnostic). So, starting with version 0.5.3, what OP attempted should just work.
conda install -c conda-forge symfit
The lesson here is: Conda Forge is an open platform, so if you find something not being built, please reach out to the feedstocks or submit a Pull Request. The community depends on active feedback from users to improve.
Upvotes: 1
Reputation: 2970
UPDATE:
this answer was posted before OP changed to use the correct conda install -c conda-forge symfit
command!
symfit
has no build for "OSX_arm64" which is why the command failsbecause conda install
will try to install the module from the default channel...
you have to explicitly tell conda to use conda-forge!
conda install -c conda-forge symfit
-> check the doc!! https://symfit.readthedocs.io/en/stable/installation.html
Upvotes: 0