Hi Mike,<div><br></div><div>Thank you very much for the suggestion, I will try this way. </div><div><br></div><div>Cheers,</div><div>               Roberto</div><div><br><br><div class="gmail_quote">2012/8/26 Michael Kuhlen <span dir="ltr"><<a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Roberto<br>
<br>
This is one reason why I typically install yt manually using the<br>
system's python installation, instead of running the yt install<br>
script. It's really quite straightforward, just go to $YTDIR/ and do<br>
"python ./setup.py build", followed by "python ./setup.py install<br>
--prefix=$HOME/local", and then make sure that your PYTHONPATH<br>
environment variable includes $HOME/local/lib/python2.7/site-packages.<br>
Of course with this approach you also have to install all the other<br>
yt-dependencies using you system's python (using apt-get,<br>
easy_install, pip, or whatever). If you decide to go down this route<br>
you may want to start from scratch with your yt installation, since if<br>
you did run the yt install script then it probably installed all those<br>
packages with the yt-provided python. YMMV.<br>
<br>
Apologies to the yt dev's if I'm giving non-standard recommendations<br>
here, but this works for me.<br>
<br>
Mike<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Sat, Aug 25, 2012 at 8:45 AM, j s oishi <<a href="mailto:jsoishi@gmail.com">jsoishi@gmail.com</a>> wrote:<br>
> The libraries may be, but the headers necessary to build them probably are<br>
> not. If you're on ubuntu, you may need to install the blas-dev package or<br>
> whatever it may be called. Or you could build Blas and atlas from sources.<br>
> This difficulty with building is why we avoid shipping scipy with yt. Sorry<br>
> it's such a pain!<br>
><br>
> I am away from my computer, so I am afraid I can't help further.<br>
><br>
> On Aug 25, 2012 11:11 AM, "trobolo dinni" <<a href="mailto:trobolo.trobolo.dinni5@gmail.com">trobolo.trobolo.dinni5@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi Jeff,<br>
>><br>
>> I already tried that way and I get the same error about Alias and Blas<br>
>> libraries missing (attached)...<br>
>> My question is: since SciPy works fine with the system python, don't those<br>
>> libraries should be already in the system?<br>
>><br>
>><br>
>> Thanks,<br>
>>                 Roberto<br>
>><br>
>><br>
>> 2012/8/25 j s oishi <<a href="mailto:jsoishi@gmail.com">jsoishi@gmail.com</a>><br>
>>><br>
>>> Hi Roberto,<br>
>>><br>
>>> Try activating yt and then typing<br>
>>><br>
>>> pip install scipy<br>
>>><br>
>>> I am not sure that will work, but if it does, scipy will certainly be in<br>
>>> the right place.<br>
>>><br>
>>> Jeff<br>
>>><br>
>>> On Aug 25, 2012 10:42 AM, "roberto iaconi" <<a href="mailto:robertoiaconi@yahoo.it">robertoiaconi@yahoo.it</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Dear YT users,<br>
>>>><br>
>>>> I have a problem in installing the SciPy library when using YT python,<br>
>>>> what happens is that:<br>
>>>><br>
>>>> -when installing from packages, also after activating yt (i.e. through<br>
>>>> the command sudo apt-get install python-scipy) I get the confirmation that<br>
>>>> SciPy is correctly installed but i cannot import it in YT python, since<br>
>>>> probably the installation is connected to the system python instead.<br>
>>>> -when installing from source (by downloading the packages) I get a lot<br>
>>>> of errors concerning missing libraries (mainly blas and atlas).<br>
>>>> I installed them and added the paths to a "site.cfg" file, but I am<br>
>>>> still getting the same error.<br>
>>>><br>
>>>> Also, I appended the system SciPy path through the sys.path.append()<br>
>>>> function, in this way I can succesfully import SciPy, but I cannot import<br>
>>>> any sublibrary such as SciPy.optimize (which is the one I particularly<br>
>>>> need).<br>
>>>><br>
>>>> By browsing the YT Mailing List I found a user with a similar problem<br>
>>>> (<a href="http://lists.spacepope.org/htdig.cgi/yt-users-spacepope.org/2011-July/001694.html" target="_blank">http://lists.spacepope.org/htdig.cgi/yt-users-spacepope.org/2011-July/001694.html</a>),<br>
>>>> but there are no suggestions in reply.<br>
>>>><br>
>>>> I would like to ask if there is a way to get SciPy installed under YT or<br>
>>>> make it available to be included.<br>
>>>><br>
>>>> Cheers,<br>
>>>>                 Roberto<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> yt-users mailing list<br>
>>>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>>>><br>
>>><br>
>>> _______________________________________________<br>
>>> yt-users mailing list<br>
>>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> yt-users mailing list<br>
>> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
>><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
*********************************************************************<br>
*                                                                   *<br>
*  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *<br>
*  email: <a href="mailto:mqk@astro.berkeley.edu">mqk@astro.berkeley.edu</a>   UC Berkeley                      *<br>
*  cell phone: <a href="tel:%28831%29%20588-1468" value="+18315881468">(831) 588-1468</a>      B-116 Hearst Field Annex # 3411  *<br>
*  skype username: mikekuhlen      Berkeley, CA 94720               *<br>
*                                                                   *<br>
*********************************************************************<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</div></div></blockquote></div><br></div>