On Sun, 6 Mar 2016, Bernard GODARD wrote:
export PYTHON=python3
export PYTHON_CONFIG=python3.5-config
./configure --enable-shared
The python modules get installed in /usr/local/lib/python3.5/site-packages
You didn't explicitly specify the desired `--prefix=`, and so `/usr/local`
was used as a default. If you want to install nlopt in `/usr` (which one
definitively shouldn't do unless one *really* knows what she/he is doing),
then specify the prefix accordingly.
The right way, of course, is to use a virtualenv and/or $HOME/opt tree
when installing user packages instead.
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
NLopt-discuss mailing list
NLopt-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss