<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Matteo,<br>
    <br>
    When you run the installer, there should be a few messages that it
    sends to you when it finishes.  One of those messages describes how
    to add yt to your new path and pythonpath environment variables.  If
    you follow these instructions, it ought to set you straight.  So go
    ahead and rerun the installer (don't worry, it won't break anything,
    or even take very long to run now that it is already installed), and
    make sure to follow the instructions it presents you with at the
    end.<br>
    <br>
    That may fix your second error as well, but I'm not sure.  Give it a
    shot.<br>
    <br>
    Cameron<br>
    <br>
    On 04/24/2011 04:16 AM, Matteo Tomassetti wrote:
    <blockquote
      cite="mid:BANLkTimc_3SoCxw9yz4GY-GjGqvp=iKyLw@mail.gmail.com"
      type="cite">Hi there,
      <div>I'm trying to install yt on the new Mac OSX 10.6, Snow
        Leopard and I have some problems. I run the install script
        modifying "wget" with "curl -o" and the installation went ok.
        But then, when I type "yt" in my terminal I receive the "command
        not found error". Moreover, if I go the the bin directory of yt
        and type ./yt I enter the program but, trying to run the first
        example I get this error message:</div>
      <div><br>
      </div>
      <div>this is what I type in the bin directory:</div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">./yt
          halos src/yt-hg/tests/DD0010/moving7_0010/<br>
          <br>
          this is the error:<br>
          Traceback (most recent call last):<br>
           File "./yt", line 9, in <module><br>
             load_entry_point('yt==2.1stable', 'console_scripts',
          'yt')()<br>
           File
          "/Users/matteotomassetti/yt-i386/src/yt-hg/yt/utilities/command_line.py",
          line 961, in run_main<br>
             sys.exit(YT.main())<br>
           File
          "/Users/matteotomassetti/yt-i386/src/yt-hg/yt/utilities/cmdln.py",
          line 257, in main<br>
             return self.cmd(args)<br>
           File
          "/Users/matteotomassetti/yt-i386/src/yt-hg/yt/utilities/cmdln.py",
          line 280, in cmd<br>
             retval = self.onecmd(argv)<br>
           File
          "/Users/matteotomassetti/yt-i386/src/yt-hg/yt/utilities/cmdln.py",
          line 412, in onecmd<br>
             return self._dispatch_cmd(handler, argv)<br>
           File
          "/Users/matteotomassetti/yt-i386/src/yt-hg/yt/utilities/cmdln.py",
          line 1100, in _dispatch_cmd<br>
             return handler(argv[0], opts, *args)<br>
           File
          "/Users/matteotomassetti/yt-i386/src/yt-hg/yt/utilities/command_line.py",
          line 387, in do_halos<br>
             hp = HP.HaloProfiler(arg,opts.halo_parameter_file,**kwargs)<br>
          TypeError: __init__() got an unexpected keyword argument
          'radius'</span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">so
          my questions are:</span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">1)
          how can I call yt in any shell without going to the bin
          directory of the program every time?</span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">2)
          how can I fix the above bug?</span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">Please
          help me, yt looks really nice for what I have to do and I
          really don't want to miss the chance to use it!</span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>
        </span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">Cheers,</span></div>
      <div><span class="Apple-style-span" style="font-family:
          arial,sans-serif; font-size: 13px; border-collapse: collapse;">M.</span></div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
yt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Cameron Hummels
PhD Candidate, Astronomy Department of Columbia University
Public Outreach Director, Astronomy Department of Columbia University
NASA IYA New York State Student Ambassador
<a class="moz-txt-link-freetext" href="http://outreach.astro.columbia.edu">http://outreach.astro.columbia.edu</a> 
PGP: 0x06F886E3</pre>
  </body>
</html>