Gentoo Archives: gentoo-science

From: Francois Bissey <fbissey@××××××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools
Date: Sat, 23 Apr 2011 20:03:07
In Reply to: [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools by Henry Gebhardt
> Hello, > > I am trying to install sage, but sage-notebook-0.8.11-r1 failes with the > following message: > > python2.6 build > Traceback (most recent call last): > File "", line 6, in <module> > from setuptools import setup > ImportError: No module named setuptools > > I have setuptools-0.6.15 installed, but only for python2.7 and 3.1 even > after a reinstall of setuptools. How can I install it for python2.6? > Should I file a bug for setuptools? >
Hi Henry, the problem is that sage-4.6.2 that you are trying to install is python-2.6 only. If you have python-2.6 on your machine and want to have stuff compiled for 2.6, 2.7 and 3.1 you have to add the following in make.conf: USE_PYTHON="2.6 2.7 3.1" Note that we are working on making sage 4.7 python 2.7. Francois


Subject Author
Re: [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools Henry Gebhardt <hsggebhardt@××××××××××.com>