[lsst-dm-stack-users] problems installing stack (anaconda) on mac + mavericks

Peter Yoachim yoachim at uw.edu
Tue Aug 5 15:40:03 PDT 2014


She could try just installing anaconda on her own first.  I think they 
are up to version 2.0, so it could be fixed.  Just be sure that anaconda 
is in the path, sometimes the default anaconda install edits irrelevant 
files.

P

On 08/05/14 15:33, Lynne Jones wrote:
> Hi DM stack help, (cc Kathy Vivas)
>
> Sorry - I might be pinging you all for help a bit in the next few days. We're trying to get many new users installing and using the sims packages for the Cadence Workshop.
>
> Here's the first problem that Kathy is having  --
>
> - anaconda installation failing during 'bash newinstall.sh'
> - Mac with Mavericks 10.9.4   (probably a migrated system, since she had a /Developer directory)
> - /Developer directory has been moved
> - no LSST or EUPS env variables set before starting installation
>
> After looking up the problem online, I think it's related to library paths during anaconda installation. But I'm stuck there. Recommendations for next steps? (My questions below are pending). Build log file is attached.
>
>
>
>
>
>
> Thanks,
> Lynne
>
>
>
>
> Begin forwarded message:
>> So, my next questions are :
>>
>> - did you delete the lsst directory you were installing into between the first and second attempt? (I see the first time you ran 'sudo bash newinstall.sh'  and the second time as 'bash newinstall.sh'  --- without sudo is the way to do it).
>>
>> - do you have an ARCH variable set?
>>
>> - how about your DYLD_LIBRARY_PATH and LD_LIBRARY_PATH?
>>
>> - is there anything present in /Users/vivas/lsst/DarwinX86/anaconda/1.8.0/pkgs/python-2.7.5-3/lib/ --- specifically, is libz.1.dylib actually there? (if so, then this seems like a library path problem)
>>
>>
>> Lynne
>>
>> On Aug 5, 2014, at 1:48 PM, Kathy Vivas <kvivas at ctio.noao.edu> wrote:
>>
>>> Hi again,
>>>
>>> First, it seems there are no environmental variables related with LSST and EUPS.
>>>
>>> So, I tried again. It still gives an error but it is a different one this time (???). The only thing different I did was to rename the directory /developer, following the advice given in the installation web page that says that if running into problems installing the software in a Mac we should try that (this was supposed to be done for problems related with phyephem, but I did it anyway).
>>>
>>> Attached is the log file, and this is the output in screen:
>>>
>>> vivas% bash newinstall.sh
>>>
>>> LSST Software Stack Builder
>>> =======================================================================
>>>
>>> Detected git version 1.8.5.2 (Apple Git-48). OK.
>>>
>>>
>>> In addition to Python 2.7, some LSST packages depend on recent versions of numpy,
>>> matplotlib, and scipy. If you don't have all of these, the installation may fail.
>>> Using the Anaconda Python distribution will ensure all these are set up.
>>>
>>> Anaconda Python installed by this installer will be managed by LSST's EUPS
>>> package manager, and will not replace or modify your system python.
>>>
>>> Would you like us to install Anaconda Python distribution (if unsure, say yes)? yes
>>>
>>> Installing EUPS (v1.3.0)...  done.
>>> Installing Anaconda Python Distribution ...
>>>   [  1/1  ]  anaconda 1.8.0 ...
>>>
>>> ***** error: from /Users/vivas/lsst/EupsBuildDir/DarwinX86/anaconda-1.8.0/build.log:
>>> installing: xlrd-0.9.2-py27_0 ...
>>> installing: xlwt-0.7.5-py27_0 ...
>>> installing: yaml-0.1.4-1 ...
>>> installing: zeromq-2.2.0-1 ...
>>> installing: zlib-1.2.7-1 ...
>>> installing: anaconda-1.8.0-np17py27_0 ...
>>> installing: _cache-0.0-x0 ...
>>> Python 2.7.5 :: Continuum Analytics, Inc.
>>> creating default environment...
>>> Traceback (most recent call last):
>>>   File "/Users/vivas/lsst/DarwinX86/anaconda/1.8.0/pkgs/conda-2.0.4-py27_0/lib/python2.7/site-packages/conda/install.py", line 36, in <module>
>>>     import subprocess
>>>   File "/Users/vivas/lsst/DarwinX86/anaconda/1.8.0/pkgs/python-2.7.5-3/lib/python2.7/subprocess.py", line 432, in <module>
>>>     import pickle
>>>   File "/Users/vivas/lsst/DarwinX86/anaconda/1.8.0/pkgs/python-2.7.5-3/lib/python2.7/pickle.py", line 1266, in <module>
>>>     import binascii as _binascii
>>> ImportError: dlopen(/Users/vivas/lsst/DarwinX86/anaconda/1.8.0/pkgs/python-2.7.5-3/lib/python2.7/lib-dynload/binascii.so, 2): Library not loaded: @loader_path/../../libz.1.dylib
>>>   Referenced from: /Users/vivas/lsst/DarwinX86/anaconda/1.8.0/pkgs/python-2.7.5-3/lib/python2.7/lib-dynload/binascii.so
>>>   Reason: image not found
>>> + exit -5
>>> eups distrib: Failed to build anaconda-1.8.0.eupspkg: Command:
>>> 	source /Users/vivas/lsst/eups/bin/setups.sh; export EUPS_PATH=/Users/vivas/lsst; (/Users/vivas/lsst/EupsBuildDir/DarwinX86/anaconda-1.8.0/build.sh) >> /Users/vivas/lsst/EupsBuildDir/DarwinX86/anaconda-1.8.0/build.log 2>&1 4>/Users/vivas/lsst/EupsBuildDir/DarwinX86/anaconda-1.8.0/build.msg
>>> exited with code 251
>>>
>>>
>>>
>>> -- 
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>> <build.log>
>>>
>>>
>>> Kathy
>
>
> _______________________________________________
> lsst-dm-stack-users mailing list
> lsst-dm-stack-users at listserv.lsstcorp.org
> https://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140805/0561b5e6/attachment.html>


More information about the dm-users mailing list