# Installing stack and maf on El Capitan "Unable to find an acceptable version of \<package\>"

**URL:** <https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905>\
**Category:** Support\
**Tags:** stack-install\
**Created:** [May 30, 2017, 3:53pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905 "2017-05-30T15:53:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![fed](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/fed/32/43_2.png) [@fed](https://www.rubin.community/u/fed)\
**Post date:** [May 30, 2017, 3:53pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/1 "2017-05-30T15:53:14Z")

</div>

Using newinstall.sh and installing miniconda I keep running into

“Unable to find an acceptable version of ”

I am **reinstalling** the stack since my installation is old (and performing a new installation would put me in a better place to help members of my SC that are new at this). Nonetheless, I think I removed all old packages and env vars that I had installed previously and I reinstalled from scratch using newinstall.sh  
I am working on an empty dir and there are no LSST env variables lying around that I can tell.

sequence of commands:  
curl -OL [https://raw.githubusercontent.com/lsst/lsst/13.0/scripts/newinstall.sh](https://raw.githubusercontent.com/lsst/lsst/13.0/scripts/newinstall.sh)  
source newinstall.sh  
source loadLSST.bash  
setup sims\_maf -t sims

> Unable to find an acceptable version of sims"

thank you for your help

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 30, 2017, 4:24pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/2 "2017-05-30T16:24:15Z")

</div>

At what point in the process do you get the `Unable to find an acceptable veresion of <package>` error? When you run `eups distrib install <package>` or when you run `setup <package>`?

(sorry… I now see that you have answered this question)

---

<div class="post-metadata">

**Author:** ![fed](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/fed/32/43_2.png) [@fed](https://www.rubin.community/u/fed)\
**Post date:** [May 30, 2017, 4:25pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/3 "2017-05-30T16:25:47Z")

</div>

sorry - i edited the post (i got trigger happy w the return button)

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 30, 2017, 4:27pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/4 "2017-05-30T16:27:40Z")

</div>

Running `source loadLSST.bash` sets up an LSST-friendly environment, but doesn’t actually install anything. You need to run `eups distrib install sims_maf -t sims` to actually install MAF on your computer. Then `setup sims_maf -t sims` ought to work.

Note: installing MAF takes between 1 and 2 hours on a MacBook.

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 30, 2017, 4:28pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/5 "2017-05-30T16:28:29Z")

</div>

So the sequence should be:

```auto
curl -OL https://raw.githubusercontent.com/lsst/lsst/13.0/scripts/newinstall.sh
bash newinstall.sh
source loadLSST.bash
eups distrib install sims_maf -t sims
setup sims_maf -t sims

```

(note: I do not think you should be running [newinstall.sh](http://newinstall.sh) with `source`. That has always gone poorly for me)

---

<div class="post-metadata">

**Author:** ![fed](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/fed/32/43_2.png) [@fed](https://www.rubin.community/u/fed)\
**Post date:** [May 30, 2017, 4:47pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/6 "2017-05-30T16:47:22Z")

</div>

sorry, edited: i did have that command in the sequence.

eups distrib install sims\_maf -t sims

I will try again without running [newinstall.sh](http://newinstall.sh) with source - I will be off for a few hours though so I’ll report back tonight

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 30, 2017, 4:49pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/7 "2017-05-30T16:49:35Z")

</div>

If you still get the error, one thing to try would be

```auto
eups list sims_maf

```

This will print to the screen a list of all of the versions of MAF that EUPS knows about.

---

<div class="post-metadata">

**Author:** ![fed](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/fed/32/43_2.png) [@fed](https://www.rubin.community/u/fed)\
**Post date:** [May 30, 2017, 4:53pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/8 "2017-05-30T16:53:13Z")

</div>

> [@danielsf](#):
>
> bash newinstall.sh

ok, which version should I have? ( I was trying to parse the eups files to figure it out but it wasnt immediately obvious)

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 30, 2017, 4:58pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/9 "2017-05-30T16:58:23Z")

</div>

I would expect the output from `eups list sims_maf` to include a line like this

```auto
   2.3.5.sims+2 sims sims_2_3_5_1

```

If you are still getting the error you reported, I would just be interested to see what `eups list sims_maf` produces, since the error you reported is consistent with not having MAF installed at all.

I am not sure how versioning information on `newinstall.sh` is stored. I would not expect an out of date `newinstall.sh` to produce the bug you reported (I am working with a `newinstall.sh` that is at least a year old, and everything runs fine).

---

<div class="post-metadata">

**Author:** ![RHL](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/rhl/32/25_2.png) [@RHL](https://www.rubin.community/u/RHL)\
**Post date:** [May 30, 2017, 7:20pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/10 "2017-05-30T19:20:44Z")

</div>

`Unable to find an acceptable version of <package>` means that no version is current. Does `eups list <package>` show any versions? If so, try `setup <package> <version>` and if that works you can make it the default (“current”) with `eups declare --current <package> <versions>` after which `setup <package>` will work.

---

<div class="post-metadata">

**Author:** ![danielsf](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/danielsf/32/440_2.png) [@danielsf](https://www.rubin.community/u/danielsf)\
**Post date:** [May 30, 2017, 7:49pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/11 "2017-05-30T19:49:59Z")

</div>

We try to avoid needing `current` for the sims stack. That is why we append the `-t sims` tag to every release we make, so that users can do `setup lsst_sims -t sims`.

---

<div class="post-metadata">

**Author:** ![RHL](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/rhl/32/25_2.png) [@RHL](https://www.rubin.community/u/RHL)\
**Post date:** [May 30, 2017, 8:29pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/12 "2017-05-30T20:29:56Z")

</div>

A user may well chose to set “current” locally. However, what I was explaining what the error about “acceptable versions” meant.

---

<div class="post-metadata">

**Author:** ![ljones](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/ljones/32/1804_2.png) [@ljones](https://www.rubin.community/u/ljones)\
**Post date:** [May 30, 2017, 9:24pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/13 "2017-05-30T21:24:22Z")

</div>

@RHL Right - “no acceptable versions” shows up if BOTH no version is set as current AND you do not use a tag to set up the package. Because sims uses a different DM release than is usually marked as “current” for DM, we do not automatically mark a version current (and we don’t direct our users to either, because it’s easier to just tell them to use “-t sims” to set up each package).

---

<div class="post-metadata">

**Author:** ![RHL](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/rhl/32/25_2.png) [@RHL](https://www.rubin.community/u/RHL)\
**Post date:** [May 30, 2017, 9:36pm UTC](https://www.rubin.community/t/installing-stack-and-maf-on-el-capitan-unable-to-find-an-acceptable-version-of-package/1905/14 "2017-05-30T21:36:02Z")

</div>

`-T current` is exactly equivalent to just accepting the default. You should really be using `-T sims` not `-t sims` to get the equivalent functionality.
