Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install DRP on Mac osx-arm64 #153

Open
palfeng opened this issue Feb 21, 2024 · 3 comments
Open

Cannot install DRP on Mac osx-arm64 #153

palfeng opened this issue Feb 21, 2024 · 3 comments

Comments

@palfeng
Copy link

palfeng commented Feb 21, 2024

Hello, I tried to install DRP on my new Mac following https://keck-datareductionpipelines.github.io/MosfireDRP/installing/#installing-python. I tried "conda create --no-default-packages -c astropy -n mospy python=3.6.3 astropy=2.0.3 ccdproc=1.3.0 ipython=6.2.1 numpy=1.13.3 scipy=1.0.0 PyQt=5.6.0" then I got the errors:

Channels:

  • astropy
  • defaults
    Platform: osx-arm64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides requested astropy 2.0.3**
  • nothing provides requested ipython 6.2.1**
  • nothing provides requested numpy 1.13.3**
  • nothing provides requested pyqt 5.6.0**
  • nothing provides requested python 3.6.3**
  • nothing provides requested scipy 1.0.0**
  • nothing provides python >=3.9,<3.10.0a0 *_cpython needed by astroscrappy-1.1.0-py39h7b9fbcb_0

Could not solve for environment specs
The following packages are incompatible
├─ astropy 2.0.3** does not exist (perhaps a typo or a missing channel);
├─ ccdproc 1.3.0** is not installable because it requires
│ └─ astroscrappy but there are no viable options
│ ├─ astroscrappy 1.1.0 would require
│ │ └─ python >=3.9,<3.10.0a0 _cpython, which does not exist (perhaps a missing channel);
│ ├─ astroscrappy 1.1.0 would require
│ │ └─ python >=3.10,<3.11.0a0 _cpython, which does not exist (perhaps a missing channel);
│ └─ astroscrappy 1.1.0 would require
│ └─ python >=3.8,<3.9.0a0 _cpython, which does not exist (perhaps a missing channel);
├─ ipython 6.2.1
does not exist (perhaps a typo or a missing channel);
├─ numpy 1.13.3
* does not exist (perhaps a typo or a missing channel);
├─ pyqt 5.6.0** does not exist (perhaps a typo or a missing channel);
├─ python 3.6.3** does not exist (perhaps a typo or a missing channel);
└─ scipy 1.0.0** does not exist (perhaps a typo or a missing channel).

It shows many packages not found. Is it due to a missing channel? Thanks in advance for your help!

@joshwalawender
Copy link
Contributor

Can you try creating the environment from the mospy.yaml file (conda env create -f mospy.yaml)?

Also, just so you know, we are winding down support of this DRP in favor of PypeIt. PypeIt has much more active development and support and has superior sky subtraction algorithms.

@monodera
Copy link

As far as I know, the minimum Python version that natively supports osx-arm64 (Apple Silicon) is 3.8 (and any prior versions are already end-of-life), so you may need to tweak the mospy.yaml file to satisfy the dependencies (I don't remember if I have ever managed to make it or not).

@palfeng
Copy link
Author

palfeng commented Mar 4, 2024

Thanks Josh and monodera! Let me check Pypeit first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants