ampl / amplpy

Python API for AMPL
https://amplpy.ampl.com
BSD 3-Clause "New" or "Revised" License
64 stars 19 forks source link

fail to install amplpy with conda #28

Closed salimoha closed 1 year ago

salimoha commented 4 years ago

I try to install amply with conda using: '' conda install -c conda-forge amplpy ''

Then I get: '' 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:

Current channels:

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.

'' Please advise.

fdabrandao commented 4 years ago

Hi @salimoha,

We have just released version 0.6.11 with support to ppc64le. It will soon be available on conda, but you can try it now by building it locally as follows:

$ git clone https://github.com/ampl/amplpy.git
$ cd amplpy
$ python updatelib.py
$ python setup.py build
$ pip install . --upgrade