jroulet / cogwheel

Combining gravitational wave harmonics for efficient evaluation of likelihood
GNU General Public License v3.0
21 stars 11 forks source link

Conda installation instructions PackagesNotFoundError #2

Closed thompsonphys closed 2 years ago

thompsonphys commented 2 years ago

After attempting to run the default installation instructions found in the README, I bumped into the following conda error:

PackagesNotFoundError: The following packages are not available from current channels:

  - python-lal
  - pymultinest
  - gwpy
  - dynesty
  - python-lalsimulation

These are conda-forge packages, which is a channel I don't have specified in my global conda config. I did resolve the issue by adding the conda-forge channel flag to the installation line:

conda create --name <environment_name> --file requirements.txt --channel=conda-forge

Just wanted to make a note in case anyone else has this problem!

ntveem commented 2 years ago

Thanks for flagging this issue!

BTW, if you have issues with the n_live_points argument for Pymultinest, please omit it and it will use the default value (2048). We'll fix this issue in the next update.

Best,

Teja

On Wed, Jul 13, 2022, 2:08 PM Jonathan Thompson @.***> wrote:

After attempting to run the default installation instructions found in the README, I bumped into the following conda error:

PackagesNotFoundError: The following packages are not available from current channels:

  • python-lal
  • pymultinest
  • gwpy
  • dynesty
  • python-lalsimulation

These are conda-forge packages, which is a channel I don't have specified in my global conda config. I did resolve the issue by adding the conda-forge channel flag to the installation line:

conda create --name --file requirements.txt --channel=conda-forge

Just wanted to make a note in case anyone else has this problem!

— Reply to this email directly, view it on GitHub https://github.com/jroulet/cogwheel/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFAFOSNZIPBTDZFTYWONCDVTZ6CBANCNFSM53N3Z2OQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jroulet commented 2 years ago

Thanks for the suggestion! I added --channel conda-forge to the instructions.