From: Bruce S. <bas...@nc...> - 2010-12-22 00:18:30
|
The appearance of "/usr/local" here is due to having specified PYTHON=/usr/bin/python2.6 and --prefix=/usr/local in the configure step for building Visual. On Ubuntu there exist /usr/lib/python2.6/dist-packages and also /usr/local/lib/python2.6/dist-packages, and it is the latter folder where 3rd-party modules like Visual are apparently supposed to be installed. Bruce Sherwood On Mon, Dec 20, 2010 at 10:19 PM, C Anthony Risinger <an...@ex...> wrote: > On Mon, Dec 20, 2010 at 11:05 PM, Bruce Sherwood <bas...@nc...> wrote: >> It does seem to be using the desired version of Python, as the full >> path created is >> >> /usr/local/lib/python2.6/site-packages >> >> which contains the intended python2.6. I also tried replacing $PYTHON >> with python$PYTHON_VERSION and still got site-packages. It's really >> hard to understand how sysconfig.get_python_lib can act differently >> within the autoconfigure environment. > > /usr/local? shouldn't it be trying to link with the package manager's > version? at least, that's what your probably getting when you run > `python` unless your doing something different. > > C Anthony > |