[yt-users] Trouble with SciPy Install

Nathan Butcher butchernate at gmail.com
Mon Jan 27 08:38:05 PST 2014


Hello all,

I have tried to install SciPy with pip after installing yt without SciPy
and encountered what appears to be the same error judging by the last few
lines of the output from pip. In addition, I got an error from pip that
states:

--
Command /mnt/home/butche44/yt-x86_64/bin/python2.7 -c "import setuptools,
tokenize;__file__='/tmp/pip_build_butche44/scipy/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-QstpeJ-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_butche44/scipy

Traceback (most recent call last):
  File "/mnt/home/butche44/yt-x86_64/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.1', 'console_scripts', 'pip')()
  File
"/mnt/home/butche44/yt-x86_64/lib/python2.7/site-packages/pip-1.5.1-py2.7.egg/pip/__init__.py",
line 185, in main
    return command.main(cmd_args)
  File
"/mnt/home/butche44/yt-x86_64/lib/python2.7/site-packages/pip-1.5.1-py2.7.egg/pip/basecommand.py",
line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 49:
ordinal not in range(128)
--

I have set the BLAS and LAPACK environment variables but have done nothing
with ATLAS so I will look into that next.

Nathan


On Mon, Jan 27, 2014 at 9:00 AM, Devin Silvia <devin.silvia at gmail.com>wrote:

> Hi Nathan,
>
> For what it's worth, I tried installing Anaconda on the HPCC and then
> using that to install yt ("conda install yt").  It seems to have
> worked, other than the fact that I run into an error when I import
> AbsorptionSpectrum.  I'm not sure what you need yt for, but perhaps
> the conda approach will work for you.
>
> -Devin
>
> On Sun, Jan 26, 2014 at 10:24 PM, Nathan Butcher <butchernate at gmail.com>
> wrote:
> > Nathan,
> >
> > When I copied over the end of the error message to a new file only 50 of
> the
> > 100 lines I tried to copy made it. I have attached file that actually
> > contains the last 100 lines which includes the error I mentioned.
> >
> > Devin,
> >
> > I am trying to install yt with pip and getting an error stating "Blas
> > libraries not found" and telling me that I can set the BLAS environment
> > variable to resolve it. The HPCC has a BLAS module but the module help
> > command gave me no information so I have contacted the HPCC people about
> > that module. I will let you know what I hear back and if I get it
> working.
> >
> > Nathan Butcher
> >
> >
> > On Sun, Jan 26, 2014 at 6:53 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> > wrote:
> >>
> >> Hi Nathan,
> >>
> >> I don't see the error you're referring to in the log file you attached.
> >>
> >> Can you paste the full install log into an unlimited pastebin
> >> (gist.github.com or pastebin.com) and send us the link?
> >>
> >> Cheers,
> >>
> >> Nathan Goldbaum
> >>
> >> On Sunday, January 26, 2014, Devin Silvia <devin.silvia at gmail.com>
> wrote:
> >>>
> >>> Hi Nathan,
> >>>
> >>> I've recently encountered the same issue.  I've tried a number of
> >>> things (unsuccessfully).  I'm not entirely sure what it will take to
> >>> get things working.  I'll let you know if I manage to solve the issue.
> >>>  Please let me know if you manage to do the same.  At some point, it
> >>> might be worth talking to the HPCC folks directly.
> >>>
> >>> Cheers,
> >>> Devin
> >>>
> >>> On Sat, Jan 25, 2014 at 8:18 PM, Desika Narayanan
> >>> <desika.narayanan at gmail.com> wrote:
> >>> > Does installing yt without scipy and then afterward pip installing
> >>> > scipy work?
> >>> >
> >>> > (This worked for me on a similar problem on an OS X install some time
> >>> > ago)
> >>> >
> >>> >> On Jan 25, 2014, at 5:43 PM, Nathan Butcher <butchernate at gmail.com>
> >>> >> wrote:
> >>> >>
> >>> >> Hello,
> >>> >>
> >>> >> I am trying to install yt with SciPy on Michigan State University's
> >>> >> HPCC system and am running into errors that I cannot resolve by
> following
> >>> >> the instructions in the install script. I have tried uncommenting
> each of
> >>> >> the NUMPY_ARGS statements and had no success. I have attached the
> log file
> >>> >> from my most recent installation attempt as the error message is
> long. My
> >>> >> guess is that it has to do with the "recompile with -fPIC" message
> but I
> >>> >> cannot figure out what that means.
> >>> >>
> >>> >> Can anybody explain what this error message means and how to resolve
> >>> >> it.
> >>> >>
> >>> >> Thank you,
> >>> >> Nathan Butcher
> >>> >> <short_yt_install_471.log>
> >>> >> _______________________________________________
> >>> >> yt-users mailing list
> >>> >> yt-users at lists.spacepope.org
> >>> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>> > _______________________________________________
> >>> > yt-users mailing list
> >>> > yt-users at lists.spacepope.org
> >>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>>
> >>>
> >>>
> >>> --
> >>> Devin W. Silvia
> >>> Research Associate
> >>> Department of Physics and Astronomy
> >>> Michigan State University
> >>> www.devinsilvia.com
> >>> _______________________________________________
> >>> yt-users mailing list
> >>> yt-users at lists.spacepope.org
> >>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >>
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
>
>
>
> --
> Devin W. Silvia
> Research Associate
> Department of Physics and Astronomy
> Michigan State University
> www.devinsilvia.com
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140127/3eb6f4de/attachment.html>


More information about the yt-users mailing list