Adding new conda package attempts to upgrade nomkl packages to mkl versions

0 views
Skip to first unread message

Heather Kelly

unread,
May 7, 2017, 2:17:38 PM5/7/17
to Anaconda - Public

I have a conda root environment which includes nomkl 1.0 and nomkl versions of numpy and scipy. I want to retain the nomkl versions of these packages, but if I try to add the basemap package (https://anaconda.org/anaconda/basemap) via conda install basemap, conda wants to upgrade these packages. I thought, conda would prefer the nomkl versions if I had nomkl also installed? 

The following packages will be UPDATED:

    conda:        4.2.13-py27_0            --> 4.3.17-py27_0
    numexpr:      2.6.0-np111py27_0        --> 2.6.2-np111py27_0
    numpy:        1.11.2-py27_nomkl_0      [nomkl] --> 1.11.3-py27_0
    scipy:        0.18.1-np111py27_nomkl_0 [nomkl] --> 0.18.1-np111py27_1

While new to pinning, I've tried to set up a pinned file, however, setting something like:
scipy ==0.18.1 is not precise enough. I'm not sure how to set the version string to be more specific. My understanding is that a dash isn't allowed?
scipy ==0.18.1-np111py27_nomkl_0 results in a Malformed version string error. Any hints would be appreciated.


Thanks,

Heather

Will Warner

unread,
May 8, 2017, 4:09:28 PM5/8/17
to Anaconda - Public
It is possible to install multiple packages with one command, so you might be able to install basemap and keep nomkl with the command "conda install basemap nomkl". What results does that produce?

Heather Kelly

unread,
May 8, 2017, 4:33:09 PM5/8/17
to anac...@continuum.io
Yes indeed, "conda install basemap nomkl" fixes it, numpy and scipy are no longer being upgraded as the system recognizes that I already have nomkl versions available.
Thanks!
Heather

--
Anaconda Community Support Group Brought to you by Continuum Analytics
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+unsubscribe@continuum.io.
To post to this group, send email to anac...@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/anaconda/.

aditya...@gmail.com

unread,
Oct 20, 2017, 4:09:02 PM10/20/17
to Anaconda - Public
This seems like an appropriate thread to ask my question.
I have nomkl installed, and neither mkl nor mkl-service are installed. I recently tried

    conda update --all

but it wants to update the nomkl versions of numpy and scipy to mkl versions and install MKL for that. This did not happen earlier for me.
Is there a way to fix this?
Thanks!
Aditya
Reply all
Reply to author
Forward
0 new messages