[ncl-install] Issue installing NCL with conda
Kevin Hallock
hallock at ucar.edu
Wed May 30 11:46:26 MDT 2018
Hi Alex,
You’re welcome! I’m glad the fix worked.
That is correct, “conda update --all -c conda-forge” recalculates dependencies for your environment while attempting to prioritize newer versions, upgrading/downgrading packages as needed to make sure everything is as compatible as possible. Specifically, running “conda update” with “--all” ensures that all packages in the environment are considered when performing dependency checks, rather than simply updating a particular package to the newest version. Also, including “-c conda-forge” is necessary to avoid accidentally installing packages from the “defaults” channel, which would likely break some of the conda-forge packages.
The dependency calculation should be the same for both “conda create ...” and “conda update --all”, so I’m not sure exactly what happened that could have caused your broken environment. Please let us know if this continues to be an issue for you in the future.
Thanks,
Kevin
> On May 30, 2018, at 10:47 AM, Alex Gonzalez <agon at iastate.edu> wrote:
>
> Hi Kevin,
> Thanks for your assistance. The issue was fixed by running “conda update --all -c conda-forge” with the “ncl_stable” environment activated.
>
> So if you don't mind my ignorance, does this command go through and make sure that conda-forge packages are compatible with the ncl_stable environment? I noticed the command not only updated some packages but it also downgraded some packages.
>
> Thanks again,
> Alex
>
> On 30 May 2018 at 08:39, Kevin Hallock <hallock at ucar.edu <mailto:hallock at ucar.edu>> wrote:
> Hi Alex,
>
> I’m sorry to hear you’re experiencing issues with installing NCL via conda.
>
> Unfortunately, I am unable to reproduce this issue on my Mac. I have macOS Sierra 10.12.6, but I do not think that this would affect conda’s behavior.
>
> Could you please try running “conda update --all -c conda-forge” with your “ncl_stable” environment activated, and then try running “ncl -V” again?
>
> If that still does not work, could you please run “conda update conda” in your “root” environment (without activating “ncl_stable”), then try recreating the “ncl_stable” environment:
> conda env remove -n ncl_stable
> conda create -n ncl_stable -c conda-forge ncl
> source activate ncl_stable
>
> Thanks,
> Kevin
>
>> On May 29, 2018, at 11:16 PM, Alex Gonzalez via ncl-install <ncl-install at ucar.edu <mailto:ncl-install at ucar.edu>> wrote:
>>
>> Hi,
>> I am having an issue installing NCL with conda on my MacOS High Sierra (10.13.4).
>>
>> I executed the two commands:
>> conda create -n ncl_stable -c conda-forge ncl
>> source activate ncl_stable
>> After that, I tried: ncl -V and got this error:
>> dyld: Library not loaded: @rpath/libpoppler.71.dylib
>> Referenced from: /Users/alexo.gonzalez/anaconda3/envs/ncl_stable/lib/libgdal.20.dylib
>> Reason: image not found
>>
>> Do you recognize this error?
>> Thank you for your help,
>> Alex
>>
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install <http://mailman.ucar.edu/mailman/listinfo/ncl-install>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20180530/d3b5ff29/attachment.html>
More information about the ncl-install
mailing list