d/installation/index.html @ d2f0ecfb2e32

beast: Update site.
author Steve Losh <steve@stevelosh.com>
date Fri, 12 Aug 2016 19:57:04 +0000
parents 1f003474d0d9
children 80ebae4e1e52
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>Installation / d</title>
        <link rel="stylesheet" href="../_dmedia/tango.css"/>
        <link rel="stylesheet/less" type="text/css" href="../_dmedia/style.less"/>
        <script src="../_dmedia/less.js" type="text/javascript">
        </script>
    </head>
    <body class="content">
        <div class="wrap">
            <header><h1><a href="..">d</a></h1></header>
                <div class="markdown">
<h1 id="installation"><a href="">Installation</a></h1><p>You just need Python and <code>pip</code>:</p>
<div class="codehilite"><pre>pip install d
</pre></div>


<p>You can use <code>easy_install</code> if you really want:</p>
<div class="codehilite"><pre>easy_install d
</pre></div>


<p><code>d</code> uses Markdown, Pygments, and Pyquery to do some of the heavy lifting.</p>
<h2 id="troubleshooting">Troubleshooting</h2>
<p>Some users have reported problems compiling the lxml library on OS X.  If you
get a message that looks like this when installing:</p>
<div class="codehilite"><pre>src/lxml/lxml.etree.c:165674: fatal error: error writing to -: Broken pipe
    compilation terminated.
    lipo: can't open input file: /var/tmp//ccZmfWit.out (No such file or directory)
    error: command 'gcc-4.2' failed with exit status 1
</pre></div>


<p>Try running this command and installing again:</p>
<div class="codehilite"><pre>export ARCHFLAGS="-arch i386 -arch x86_64"
</pre></div>
                </div>
            <footer><p>Created by <a href="http://stevelosh.com">Steve Losh</a>.
Inspired by <a href="http://stevelosh.com/projects/t/">t</a>.</p>
<p><br/><a id="rochester-made" href="http://rochestermade.com" title="Rochester Made"><img src="http://rochestermade.com/media/images/rochester-made-dark-on-light.png" alt="Rochester Made" title="Rochester Made"/></a></p></footer>
        </div>
    </body>
</html>