[yt-users] SciPy and YT problem

j s oishi jsoishi at gmail.com
Sat Aug 25 08:45:07 PDT 2012


The libraries may be, but the headers necessary to build them probably are
not. If you're on ubuntu, you may need to install the blas-dev package or
whatever it may be called. Or you could build Blas and atlas from sources.
This difficulty with building is why we avoid shipping scipy with yt. Sorry
it's such a pain!

I am away from my computer, so I am afraid I can't help further.
On Aug 25, 2012 11:11 AM, "trobolo dinni" <trobolo.trobolo.dinni5 at gmail.com>
wrote:

> Hi Jeff,
>
> I already tried that way and I get the same error about Alias and Blas
> libraries missing (attached)...
> My question is: since SciPy works fine with the system python, don't those
> libraries should be already in the system?
>
>
> Thanks,
>                 Roberto
>
>
> 2012/8/25 j s oishi <jsoishi at gmail.com>
>
>> Hi Roberto,
>>
>> Try activating yt and then typing
>>
>> pip install scipy
>>
>> I am not sure that will work, but if it does, scipy will certainly be in
>> the right place.
>>
>> Jeff
>> On Aug 25, 2012 10:42 AM, "roberto iaconi" <robertoiaconi at yahoo.it>
>> wrote:
>>
>>> Dear YT users,
>>>
>>> I have a problem in installing the SciPy library when using YT python,
>>> what happens is that:
>>>
>>> -when installing from packages, also after activating yt (i.e. through
>>> the command sudo apt-get install python-scipy) I get the confirmation
>>> that SciPy is correctly installed but i cannot import it in YT python,
>>> since probably the installation is connected to the system python instead.
>>> -when installing from source (by downloading the packages) I get a lot
>>> of errors concerning missing libraries (mainly blas and atlas).
>>> I installed them and added the paths to a "site.cfg" file, but I am
>>> still getting the same error.
>>>
>>> Also, I appended the system SciPy path through the sys.path.append()
>>> function, in this way I can succesfully import SciPy, but I cannot import
>>> any sublibrary such as SciPy.optimize (which is the one I particularly
>>> need).
>>>
>>> By browsing the YT Mailing List I found a user with a similar problem (
>>> http://lists.spacepope.org/htdig.cgi/yt-users-spacepope.org/2011-July/001694.html),
>>> but there are no suggestions in reply.
>>>
>>> I would like to ask if there is a way to get SciPy installed under YT or
>>> make it available to be included.
>>>
>>> Cheers,
>>>                 Roberto
>>>
>>> _______________________________________________
>>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120825/91342ff0/attachment.htm>


More information about the yt-users mailing list