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
Message-Id: 201104240749.34821.fbissey@slingshot.co.nz
In Reply to: [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools by Henry Gebhardt
1 > Hello,
2 >
3 > I am trying to install sage, but sage-notebook-0.8.11-r1 failes with the
4 > following message:
5 >
6 > python2.6 setup.py build
7 > Traceback (most recent call last):
8 > File "setup.py", line 6, in <module>
9 > from setuptools import setup
10 > ImportError: No module named setuptools
11 >
12 > I have setuptools-0.6.15 installed, but only for python2.7 and 3.1 even
13 > after a reinstall of setuptools. How can I install it for python2.6?
14 > Should I file a bug for setuptools?
15 >
16 Hi Henry,
17
18 the problem is that sage-4.6.2 that you are trying to install is
19 python-2.6 only. If you have python-2.6 on your machine and want
20 to have stuff compiled for 2.6, 2.7 and 3.1 you have to add the following
21 in make.conf:
22 USE_PYTHON="2.6 2.7 3.1"
23
24 Note that we are working on making sage 4.7 python 2.7.
25
26 Francois

Replies

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