<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Kelle,<br>
    <br>
    not sure I'm the best person to answer, but I indeed had to face
    conflicts between Scisoft and EPD (on Mac). I want to use pyraf, but
    also the latest python distribution and packages. Basically, if you
    install EPD after scisoft, the different PATH are set for EPD and
    pyraf won't start.<br>
    <br>
    I have both Scisoft (2010.10.2b) and EPD (7.0-2) installed, and my
    dirty solution to be able to use both is in the .bash_profile:<br>
    <br>
      #import my python scripts<br>
      export PYTHONPATH=$PYTHONPATH:/.../scripts/python/...<br>
    <br>
      alias setpyraf="export
PYTHONPATH=${PYTHONPATH}:/usr/local/scisoft/packages/python/lib/python2.6/site-packages/"<br>
    <br>
      #setup scisoft (as recommended)<br>
      . /usr/local/scisoft/bin/Setup.bash<br>
    <br>
      #Setting PATH for EPD-7.0-2 (automatically added)<br>
     
    PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"<br>
      export PATH<br>
    <br>
    <br>
    So when I want to run pyraf I simply have to type setpyraf before
    and it works! (however I'm not sure I understand everything, and
    maybe someone can develop this with a cleaner solution). I believe
    the conversion of this to csh or tcsh will work in the same way.<br>
    <br>
    Cheers,<br>
    Mat<br>
    <br>
    <br>
    On 27/05/11 11:50 AM, Kelle Cruz wrote:
    <blockquote
      cite="mid:BANLkTin3DyjWNPS+yv8B4a7E-Q3YHuPVQg@mail.gmail.com"
      type="cite">Such a great resource, thanks guys!! 
      <div><br>
      </div>
      <div>We've decided to do the workshops during the first two weeks
        of our CUNY/AMNH REU program and so far, I anticipate one
        problem: Scisoft. There's a bit in the Installation workshop
        about handling packages with multiple python installations (<a
          moz-do-not-send="true"
href="http://python4astronomers.github.com/installation/packages.html#multiple-pythons-on-your-computer">http://python4astronomers.github.com/installation/packages.html#multiple-pythons-on-your-computer</a>),
        but I would like some specific advice on how to handle existing
        Scisoft installations. </div>
      <div><br>
      </div>
      <div>Specifically, if we want to keep Scisoft installed for the
        IRAF installation (which we need for pyraf, right?), but NOT for
        the Python install, what should we do? I figure there's some
        combo of environment variables that need setting/unsetting in
        the .tcshrc and if someone can point us in the right direction,
        that would help get us started as smoothly as possible.
        <div>
          <br>
        </div>
        <div>Are there any other conflicts that I should anticipate with
          installing the EPD on computers that have existing Python
          installations?</div>
        <div><br>
        </div>
        <div>Thanks for your advice!</div>
        <div>kelle<br>
          <div>
            <div><br>
              <div class="gmail_quote">On Mon, May 23, 2011 at 10:18 AM,
                Tom Aldcroft <span dir="ltr"><<a
                    moz-do-not-send="true"
                    href="mailto:aldcroft@head.cfa.harvard.edu">aldcroft@head.cfa.harvard.edu</a>></span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin: 0pt 0pt
                  0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
                  padding-left: 1ex;">
                  My colleagues and I would like to announce the
                  availability of a web<br>
                  tutorial aimed at teaching Python to astronomers
                  through a series of<br>
                  interactive workshops:<br>
                  <br>
                   <a moz-do-not-send="true"
                    href="http://python4astronomers.github.com/"
                    target="_blank">http://python4astronomers.github.com/</a><br>
                  <br>
                  Practical Python for Astronomers is a series of
                  hands-on workshops to<br>
                  explore the Python language and the analysis tools it
                  provides. The<br>
                  emphasis is on using Python to solve real-world
                  problems that<br>
                  astronomers are likely to encounter in research.  Some
                  features:<br>
                  <br>
                  - Workshops immediately use plotting, analysis, and
                  file reading tools.<br>
                  - Along the way elements of the Python language are
                  introduced.<br>
                  - Workshops are interactive using examples run by
                  participants on their laptops.<br>
                  - Comprehensive instructions a given for installing a
                  full Python environment.<br>
                  <br>
                  There are two goals.  First is to provide tutorials
                  suitable for<br>
                  self-study by those wishing to learn Python for
                  astronomy.  The<br>
                  greater goal is for those knowledgable in Python to
                  teach the workshop<br>
                  series at their local institutions, adapting the
                  content as desired.<br>
                  To that end we have developed the content in Sphinx
                  RestructuredText<br>
                  and hosted the source on github at<br>
                  <a moz-do-not-send="true"
                    href="https://github.com/python4astronomers/"
                    target="_blank">https://github.com/python4astronomers/</a>.
                  Anyone interested can clone<br>
                  the repository or download a tarball and make
                  modifications needed to<br>
                  present the material locally.  We would also welcome
                  comments, fixes,<br>
                  or suggestions for improvement. This can be done as a
                  Github issue or<br>
                  pull request, or by sending email to <a
                    moz-do-not-send="true"
                    href="mailto:aldcroft@head.cfa.harvard.edu">aldcroft@head.cfa.harvard.edu</a>.<br>
                  <br>
                  The workshop material here was presented in the Spring
                  of 2011 at the<br>
                  Harvard / Smithsonian Center for Astrophysics. A range
                  of about 25 to<br>
                  50 people participated in the different workshops,
                  which were 1.5<br>
                  hours in duration.  One key accomplishment was
                  installing a working<br>
                  Python with NumPy, SciPy, and IPython on over 50
                  laptops (MacOS,<br>
                  linux, and Windows) during a single session.<br>
                  <font color="#888888"><br>
                    Tom Aldcroft<br>
                    Tom Robitaille<br>
                    Brian Refsdal<br>
                    Gus Muench<br>
                    _______________________________________________<br>
                    AstroPy mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://mail.scipy.org/mailman/listinfo/astropy"
                      target="_blank">http://mail.scipy.org/mailman/listinfo/astropy</a><br>
                  </font></blockquote>
              </div>
              <br>
              <br clear="all">
              <br>
              -- <br>
              Kelle Cruz, PhD — <a moz-do-not-send="true"
                href="http://kellecruz.com/" target="_blank">http://kellecruz.com/</a>
              <div>917.725.1334 — Hunter ext: 16486 — AMNH ext: 3404</div>
              <br>
            </div>
          </div>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
AstroPy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/astropy">http://mail.scipy.org/mailman/listinfo/astropy</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dr. Mathieu Servillat
Harvard-Smithsonian Center for Astrophysics
60 Garden Street, MS-67
Cambridge, MA 02138, USA
+1 617 495 7275
<a class="moz-txt-link-abbreviated" href="mailto:mservillat@cfa.harvard.edu">mservillat@cfa.harvard.edu</a>
--

</pre>
  </body>
</html>