Closed mathomp4 closed 2 years ago
Final test. I just did this:
bash $ANACONDA_SRCDIR/$INSTALLER -b -p $ANACONDA_INSTALLDIR
conda install -c conda-forge cis
Here the conda install
is the next step after just installing anaconda, and it seems like it can't install even then. Hmm.
I've noticed a similar problem recently, but haven't managed to pin it down. I've found that creating a new environment seems to work: conda create -n cis_env -c conda-forge cis
. It's presumably due to a set of conflicting requirements somewhere, perhaps iris
pinning to an older version of matplotlib, but without any useful output from conda it's hard to fix.
The pip issue is because the older version of CIS on PyPi refers to the iris
package rather than the, correct, scitools-iris
package. I really should update the version on PyPi, but in the meantime you can clone the latest version of CIS locally and install using pip install -e .
Closing as stale and I suspect fixed by latest rebuild. Please reopen if it's still an issue for you
I am getting an issue when I do pip install cis
, it gives me this error: Getting requirements to build wheel ... error error: subprocess-exited-with-error
. Not sure what to do as I haven't found many solutions to this error.
Hmm, I'm not sure why that would happen - I've not had it myself. You could try increasing the verbosity of pip
to see what's going on, e.g.:
pip install cis -v
Alternatively I would usually suggest installing cis
using conda
since some of the dependencies of iris
and cartopy
are tricky to get working with pip
in my experience. See the docs here: https://cis.readthedocs.io/en/stable/installation.html
All,
I seem to be having issues trying to install cis in my Anaconda instance.
Now, fair warning, this is an Anaconda stack I manage for an organization I work for. So it has some set packages everyone needs. I construct this setup by first getting the full Anaconda installer, then doing some
conda install
and then someconda install -c conda-forge
commands.So, by the time I get here I've already done a lot of
conda install -c conda-forge
statements. And, in the past (say with Anaconda 2019.03), I just addedconda install -c conda-forge cis
to that as well.But with 2019.10, I get this:
And it spins there for hours. So I thought, well, conda gets confused sometimes, so I tried
pip
:The odd thing is, I have iris 2.2.0 from conda:
Now, I did try to short circuit this and make cis the first big conda-forge package I installed after:
but even that is stuck in perpetual solve.
Any ideas with what might be going on?