I never did that before, anyway yes, I think a PPA to install YT on the system python would be very usefull!<br><br>Roberto<br><br><br><br><div class="gmail_quote">2012/8/27 Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi Mike, </p>
<p>I actually haven't ever made one either! If you are up for the first shot at it, that would be awesome! Thanks! </p>
<p>-Matt</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Aug 27, 2012 5:25 PM, "Michael Kuhlen" <<a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

If you've done this before, or know how to do it quickly, yes please!<br>
I imagine a PPA would be useful for quite a few users.<br>
<br>
I've never made a PPA myself. But from a quick googling I found the<br>
following docs, with which I could probably figure it out:<br>
<br>
<a href="http://askubuntu.com/questions/28562/how-do-i-create-a-ppa-for-a-working-program" target="_blank">http://askubuntu.com/questions/28562/how-do-i-create-a-ppa-for-a-working-program</a><br>
<a href="https://wiki.ubuntu.com/PackagingGuide/Complete" target="_blank">https://wiki.ubuntu.com/PackagingGuide/Complete</a><br>
<a href="https://help.launchpad.net/Packaging/PPA/Uploading" target="_blank">https://help.launchpad.net/Packaging/PPA/Uploading</a><br>
<br>
Would you like me to give it a try?<br>
<br>
Mike<br>
<br>
<br>
On Mon, Aug 27, 2012 at 1:49 PM, Matthew Turk <<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>> wrote:<br>
> Hi Roberto and Mike,<br>
><br>
> Would it be worthwhile to try to make PPAs on Ubuntu for this?<br>
><br>
> -Matt<br>
><br>
> On Mon, Aug 27, 2012 at 5:32 AM, trobolo dinni<br>
> <<a href="mailto:trobolo.trobolo.dinni5@gmail.com" target="_blank">trobolo.trobolo.dinni5@gmail.com</a>> wrote:<br>
>> The installation worked fine and I can now import yt while in the system<br>
>> python as a standard library. Now I'll check if every feature works fine.<br>
>> Thank you very much for the help Mike!<br>
>><br>
>> Cheers,<br>
>>                Roberto<br>
>><br>
>><br>
>><br>
>> 2012/8/26 trobolo dinni <<a href="mailto:trobolo.trobolo.dinni5@gmail.com" target="_blank">trobolo.trobolo.dinni5@gmail.com</a>><br>
>>><br>
>>> Hi Mike,<br>
>>><br>
>>> Thank you very much for the suggestion, I will try this way.<br>
>>><br>
>>> Cheers,<br>
>>>                Roberto<br>
>>><br>
>>><br>
>>> 2012/8/26 Michael Kuhlen <<a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a>><br>
>>>><br>
>>>> 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>
>>>><br>
>>>><br>
>>>> On Sat, Aug 25, 2012 at 8:45 AM, j s oishi <<a href="mailto:jsoishi@gmail.com" target="_blank">jsoishi@gmail.com</a>> wrote:<br>
>>>> > The libraries may be, but the headers necessary to build them probably<br>
>>>> > are<br>
>>>> > not. If you're on ubuntu, you may need to install the blas-dev package<br>
>>>> > or<br>
>>>> > whatever it may be called. Or you could build Blas and atlas from<br>
>>>> > sources.<br>
>>>> > This difficulty with building is why we avoid shipping scipy with yt.<br>
>>>> > 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"<br>
>>>> > <<a href="mailto:trobolo.trobolo.dinni5@gmail.com" target="_blank">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<br>
>>>> >> 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" target="_blank">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<br>
>>>> >>> 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" target="_blank">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<br>
>>>> >>>> python,<br>
>>>> >>>> what happens is that:<br>
>>>> >>>><br>
>>>> >>>> -when installing from packages, also after activating yt (i.e.<br>
>>>> >>>> through<br>
>>>> >>>> the command sudo apt-get install python-scipy) I get the<br>
>>>> >>>> confirmation that<br>
>>>> >>>> SciPy is correctly installed but i cannot import it in YT python,<br>
>>>> >>>> since<br>
>>>> >>>> probably the installation is connected to the system python instead.<br>
>>>> >>>> -when installing from source (by downloading the packages) I get a<br>
>>>> >>>> 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<br>
>>>> >>>> import<br>
>>>> >>>> any sublibrary such as SciPy.optimize (which is the one I<br>
>>>> >>>> particularly<br>
>>>> >>>> need).<br>
>>>> >>>><br>
>>>> >>>> By browsing the YT Mailing List I found a user with a similar<br>
>>>> >>>> problem<br>
>>>> >>>><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<br>
>>>> >>>> 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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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>
>>>> --<br>
>>>> *********************************************************************<br>
>>>> *                                                                   *<br>
>>>> *  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *<br>
>>>> *  email: <a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a>   UC Berkeley                      *<br>
>>>> *  cell phone: <a href="tel:%28831%29%20588-1468" value="+18315881468" target="_blank">(831) 588-1468</a>      B-116 Hearst Field Annex # 3411  *<br>
>>>> *  skype username: mikekuhlen      Berkeley, CA 94720               *<br>
>>>> *                                                                   *<br>
>>>> *********************************************************************<br>
>>>> _______________________________________________<br>
>>>> yt-users mailing list<br>
>>>> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
>> _______________________________________________<br>
>> yt-users mailing list<br>
>> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
*********************************************************************<br>
*                                                                   *<br>
*  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *<br>
*  email: <a href="mailto:mqk@astro.berkeley.edu" target="_blank">mqk@astro.berkeley.edu</a>   UC Berkeley                      *<br>
*  cell phone: <a href="tel:%28831%29%20588-1468" value="+18315881468" target="_blank">(831) 588-1468</a>      B-116 Hearst Field Annex # 3411  *<br>
*  skype username: mikekuhlen      Berkeley, CA 94720               *<br>
*                                                                   *<br>
*********************************************************************<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
</blockquote></div>
</div></div><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></blockquote></div><br>