[yt-users] Not able to activate yt installation

Matthew Turk matthewturk at gmail.com
Fri Jun 21 11:48:28 PDT 2013


Hi Morgan,

On Fri, Jun 21, 2013 at 2:44 PM, Morgan Presley <mpresley at princeton.edu> wrote:
> Yes, I understand now. I had been following the instructions on
> http://yt-project.org/doc/orientation/simple_data_inspection.html, which
> said the command yt should produce "a number of subcommands". I didn't
> realize those subcommands were supposed to be a part of an error message.
> Thanks for the clarification.
> Morgan

You're absolutely right -- it used to be that it would very nicely
print out a help message, but it looks like now it just says, "You did
something wrong."  I'll file a ticket to try to address this.

-Matt

>
>
> On Fri, Jun 21, 2013 at 2:23 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> wrote:
>>
>> Hi Morgan,
>>
>> It looks like yt installed correctly, actually.  The 'yt' command line
>> interface is a way to quickly examine datasets.  As the help prompt you
>> pasted indicates, you need to pair the 'yt' command with a subcommand in
>> order to do anything.  For example:
>>
>> $ yt plot IsolatedGalaxy/galaxy0030/galaxy0030
>>
>> Will make three plots of Density slices through the IsolatedGalaxy dataset
>> (which you can download from yt-project.org/data).  There are a number of
>> other subcommands, you can get more information on them using 'yt --help'.
>>
>> While yt's command line interface is good for looking quickly at a
>> dataset, it's not so great for in-depth analysis.  For that, you'll want to
>> make an ipython notebook or python script using yt's python interface.  Here
>> is a brief introduction to using yt from python:
>>
>> http://yt-project.org/doc/orientation/first_steps.html
>>
>> Also see the bootcamp notebooks:
>>
>> http://yt-project.org/doc/bootcamp.html
>>
>> Hope that helps, please let us know if you have any more questions.
>>
>> -Nathan
>>
>>
>> On Fri, Jun 21, 2013 at 10:56 AM, Morgan Presley <mpresley at princeton.edu>
>> wrote:
>>>
>>> I tried to install yt using the commands:
>>>
>>> $ wget http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh
>>> $ bash install_script.sh
>>>
>>> It seemed to install fine, but when I tried to run the activate script, I
>>> got the following error:
>>>
>>> $ source /Users/mpresley/yt-x86_64/bin/activate
>>> (yt-x86_64)anantes-651-1-49-78:~ mpresley$ yt
>>> usage: yt [-h] [--config CONFIG] [--paste] [--paste-detailed]
>>> [--detailed]
>>>           [--rpdb] [--parallel]
>>>
>>>
>>> {help,bootstrap_dev,bugreport,hop,hub_register,hub_submit,instinfo,load,mapserver,pastebin,pastebin_grab,upload_notebook,plot,render,rpdb,notebook,serve,reason,stats,update,upload_image}
>>>           ...
>>> yt: error: too few arguments
>>>
>>> I tried just deleting the files and re-doing the installation, but I
>>> encountered the same error. I am installing on iOS 10.7.5 and have attached
>>> the install log. Thanks for any help.
>>>
>>> _______________________________________________
>>> 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
>



More information about the yt-users mailing list