On Mon, 2014-07-14 at 07:37 -0400, Edward H. Chen wrote:
> 
> Here's more or less how I bash'd it:

I'm not sure whether you really have to, but I tend to explicitly
specify --with-python .

Also, not sure what the default prefix is, maybe it's /usr/local and the
Python from Anaconda doesn't add it to PYTHONPATH automatically.

If I were you, I would specify the prefix in my home directory, like
--prefix=$HOME/opt/nlopt and then you won't need sudo, and you know for
sure where the module is going to be installed, so that you can add it
to PYTHONPATH like:

    export PYTHONPATH=$HOME/opt/nlopt/lib/pythonX.Y/site-packages:$PYTHONPATH

Hope that helps,

-- 
Sincerely yours,
Yury V. Zaytsev



_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to