<div dir="ltr">Yup, that's how you need to do it with default OS X python if you don't use a virtual environment. I would strongly suggest, though, that you just do everything in a virtual environment. Virtual env (<a href="https://pypi.python.org/pypi/virtualenv">https://pypi.python.org/pypi/virtualenv</a>) and vex (<a href="https://pypi.python.org/pypi/vex">https://pypi.python.org/pypi/vex</a>) are useful utilities for creating virtual environments. With a virtual environment, you won't need to "sudo."<div><br></div><div>Better yet, I would also strongly recommend abandoning OS X's python and installing python with homebrew (<a href="http://brew.sh/">http://brew.sh/</a>). The homebrew python is much better maintained and installs in a non-privileged location by default. It's still not a bad idea to use a virtual environment, but it's not necessary with homebrew.</div><div><br></div><div>Ted<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 7, 2015 at 4:21 PM, Hugh Medal <span dir="ltr"><<a href="mailto:hugh.medal@msstate.edu" target="_blank">hugh.medal@msstate.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">FYI, I just was able to successfully install dippy (on Mac OS X). I had to use this:<div><br></div><div>
<p><span>sudo COIN_INSTALL_DIR=/Users/hmedal/Software/Dip-0.92.1 python setup.py install</span></p><p><span><br></span></p><p><span>Could I have done it a different way? I had to run sudo because the python needed permission to write and I had to put the environment variable in the command because sudo couldn't find my user environment variables.</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Nov 6, 2015 at 2:55 PM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr"><span class="">Argh, I'm losing my mind. I already fixed this problem and made a new release 0.92.1 about a month ago.
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
</span><div>Ted</div>
</div><div><div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote"><span>On Fri, Nov 6, 2015 at 3:07 PM, Ted Ralphs <span dir="ltr">
<<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
<div dir="ltr">Actually, stable/0.92 seems to build just fine so a fix I made to address this issue must not have made it into the release. I'll make a new release soon.<span><font color="#888888">
<div><br>
</div>
<div>Ted</div>
</font></span></div>
</span><div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote"><span>On Fri, Nov 6, 2015 at 3:05 PM, Ted Ralphs <span dir="ltr">
<<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
<div dir="ltr">Hi Hugh,
<div><br>
</div>
<div>Thanks for bringing this to my attention. I'm working on understanding the issue and on a longer-term fix, but for now, configuring with "--disable-dependency-linking" should allow it to build and install properly.</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Ted</div>
</div>
</span><div class="gmail_extra"><br>
<div class="gmail_quote"><span>
<div>
<div>On Tue, Nov 3, 2015 at 9:51 PM, Hugh Medal <span dir="ltr"><<a href="mailto:hugh.medal@msstate.edu" target="_blank">hugh.medal@msstate.edu</a>></span> wrote:<br>
</div>
</div>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div>
<div>
<div dir="ltr">I am trying to install Dip09.92.0. When I run 'make' within my install distribution I get this error:
<div><br>
</div>
<div>
<p><span>Undefined symbols for architecture x86_64:</span></p>
<p><span> "_DecompInf", referenced from:</span></p>
<p><span> DecompAlgo::initSetup() in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> DecompAlgo::createMasterProblem(std::__1::list<DecompVar*, std::__1::allocator<DecompVar*> >&) in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> DecompAlgo::coreMatrixAppendColBounds() in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> DecompAlgo::masterMatrixAddArtCol(std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<int, std::__1::allocator<int> >&, std::__1::vector<double, std::__1::allocator<double> >&, char, int, int, DecompColType, double&, double&,
double&) in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> DecompAlgo::processNode(AlpsDecompTreeNode const*, double, double) in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> DecompAlgo::isTailoffLB(int, double) in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> DecompAlgo::setMasterBounds(double const*, double const*) in libDecomp.1.6.0.dylib-master.o</span></p>
<p><span> ...</span></p>
<p><span>ld: symbol(s) not found for architecture x86_64</span></p>
<p><span>clang: error: linker command failed with exit code 1 (use -v to see invocation)</span></p>
<p><span>make[4]: *** [libDecomp.la] Error 1</span></p>
<p><span>make[3]: *** [all-recursive] Error 1</span></p>
<p><span>make[2]: *** [all] Error 2</span></p>
<p><span>make[1]: *** [all-recursive] Error 1</span></p>
<p><span>make: *** [all-recursive] Error 1</span></p>
<p><span><br>
</span></p>
<p><span>Do you have any guidance?</span></p>
<p><span><br>
Thanks,</span></p>
<p><span>Hugh</span></p>
<span><font color="#888888">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr"><font color="#660000"><b><font face="comic sans ms, sans-serif">Hugh Medal</font></b><br>
Assistant Professor<br>
Industrial and Systems Engineering<br>
Mississippi State University<br>
</font>
<div><font color="#660000">Office: 260K McCain</font></div>
<div><font color="#660000">Office: <a href="tel:662-325-3923" value="+16623253923" target="_blank">
662-325-3923</a><br>
Email: <a href="mailto:hmedal@uark.edu" target="_blank">hmedal@i</a><a href="http://se.msstate.edu/" target="_blank">se.msstate.edu</a></font></div>
<div><font color="#660000">Website: </font><a href="http://hm568.ise.msstate.edu/" target="_blank">hm568.ise.msstate.edu</a><br>
<font color="#660000">Office hours: </font>hughmedal "dot" youcanbook "dot" me<br>
</div>
</div>
</div>
</font></span></div>
</div>
<br>
</div>
</div></div></div><span>
_______________________________________________<br>
Dip mailing list<br>
<a href="mailto:Dip@list.coin-or.org" target="_blank">Dip@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/dip" rel="noreferrer" target="_blank">http://list.coin-or.org/mailman/listinfo/dip</a><span><font color="#888888"><br>
</font></span></span></blockquote>
</div><span>
<span><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</font></span></span></div>
</blockquote>
</div><span>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</span></div>
</div>
</div>
</blockquote>
</div><span>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Dr. Ted Ralphs<br>
Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div>
</div>
</span></div>
</div></div></div>
</blockquote></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font color="#660000"><b><font face="comic sans ms, sans-serif">Hugh Medal</font></b><br>Assistant Professor<br>Industrial and Systems Engineering<br>Mississippi State University<br></font><div><font color="#660000">Office: 260K McCain</font></div><div><font color="#660000">Office: <a href="tel:662-325-3923" value="+16623253923" target="_blank">662-325-3923</a><br>Email: <a href="mailto:hmedal@uark.edu" target="_blank">hmedal@i</a><a href="http://se.msstate.edu/" target="_blank">se.msstate.edu</a></font></div><div><font color="#660000">Website: </font><a href="http://hm568.ise.msstate.edu/" target="_blank">hm568.ise.msstate.edu</a><br><font color="#660000">Office hours: </font>hughmedal "dot" youcanbook "dot" me<br></div></div></div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div>
</div>