public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools
@ 2011-04-23 14:33 Henry Gebhardt
  2011-04-23 19:49 ` Francois Bissey
  0 siblings, 1 reply; 3+ messages in thread
From: Henry Gebhardt @ 2011-04-23 14:33 UTC (permalink / raw
  To: gentoo-science

Hello,

I am trying to install sage, but sage-notebook-0.8.11-r1 failes with the
following message:

  python2.6 setup.py build
  Traceback (most recent call last):
    File "setup.py", 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?

Thank you,

Henry



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools
  2011-04-23 14:33 [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools Henry Gebhardt
@ 2011-04-23 19:49 ` Francois Bissey
  2011-04-24 16:33   ` Henry Gebhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Francois Bissey @ 2011-04-23 19:49 UTC (permalink / raw
  To: gentoo-science

> Hello,
> 
> I am trying to install sage, but sage-notebook-0.8.11-r1 failes with the
> following message:
> 
>   python2.6 setup.py build
>   Traceback (most recent call last):
>     File "setup.py", 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools
  2011-04-23 19:49 ` Francois Bissey
@ 2011-04-24 16:33   ` Henry Gebhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Henry Gebhardt @ 2011-04-24 16:33 UTC (permalink / raw
  To: gentoo-science

On Sun, Apr 24, 2011 at 07:49:34AM +1200, Francois Bissey wrote:
> USE_PYTHON="2.6 2.7 3.1"

Thanks, that worked.

Henry



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-24 17:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-23 14:33 [gentoo-science] [sage-on-gentoo] sage-notebook-0.8.11 can't find setuptools Henry Gebhardt
2011-04-23 19:49 ` Francois Bissey
2011-04-24 16:33   ` Henry Gebhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox