[sage-support] problems installing mayavi2/ets

49 views
Skip to first unread message

leonard....@free.fr

unread,
Apr 20, 2010, 12:46:02 PM4/20/10
to sage-s...@googlegroups.com

Hello,

I'm trying to install ETS package from
"http://sage.math.washington.edu/home/jsp/SPKGS/ETS/".
I have built x86-64 version of sage-4.3.5 on opensuse 11.2.
~> gcc -v
gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)

I followed the instructions from the README.txt file available in the ETS
directory and everything installed OK up to "ets-3.2.0-20090518.p0".
Here are the error messages:

-----------------------------------------
Installed /home/jeloaica/tools/sage-4.3.5/local/lib/python2.6/site-
packages/EnthoughtBase-3.0.2-py2.6.egg
Searching for Enable>=3.1.0.dev,<=3.1.0

Link to http://pypi.python.org/simple/Enable/ ***BLOCKED*** by --allow-hosts

Couldn't find index page for 'Enable' (maybe misspelled?)
Scanning index of all packages (this may take a while)

Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts

No local packages or download links found for Enable>=3.1.0.dev,<=3.1.0
error: Could not find suitable distribution for
Requirement.parse('Enable>=3.1.0.dev,<=3.1.0')
Error installing ETS

real 1m12.983s
user 0m59.201s
sys 0m4.580s
sage: An error occurred while installing ets-3.2.0-20090518.p0
-----------------------------------


Does anybody know how to fix this? Thank you in advance for any help.

Regards,
Leonard

--
To post to this group, send email to sage-s...@googlegroups.com
To unsubscribe from this group, send email to sage-support...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Jaap Spies

unread,
Apr 20, 2010, 2:35:19 PM4/20/10
to sage-s...@googlegroups.com
Do you have any old ETS installs floating around?

Jaap

Leonard JELOAICA

unread,
Apr 21, 2010, 5:12:07 AM4/21/10
to sage-s...@googlegroups.com
Hi Jaap,

No, I have no ETS installed yet.

Jaap Spies

unread,
Apr 21, 2010, 8:18:21 AM4/21/10
to sage-s...@googlegroups.com
Leonard JELOAICA wrote:
> On Tuesday 20 April 2010 20:35:19 Jaap Spies wrote:
>> leonard....@free.fr wrote:
[...]
>>
>> Do you have any old ETS installs floating around?
>>
>> Jaap
>>
>>> Regards,
>>> Leonard
>>
> Hi Jaap,
>
> No, I have no ETS installed yet.
>
> Leonard
>

Following my own instructions in the README.txt I successfully built ETS
on Fedora 12 64 bit.

Can you post a link to the relevant part of the install.log?

Jaap

leonard....@free.fr

unread,
Apr 21, 2010, 9:32:35 AM4/21/10
to sage-s...@googlegroups.com
On Wednesday 21 April 2010 14:18:21 Jaap Spies wrote:
> Leonard JELOAICA wrote:
> > On Tuesday 20 April 2010 20:35:19 Jaap Spies wrote:
> >> leonard....@free.fr wrote:
>
> [...]
>
> >> Do you have any old ETS installs floating around?
> >>
> >> Jaap
> >>
> >>> Regards,
> >>> Leonard
> >
> > Hi Jaap,
> >
> > No, I have no ETS installed yet.
> >
> > Leonard
>
> Following my own instructions in the README.txt I successfully built ETS
> on Fedora 12 64 bit.
>
> Can you post a link to the relevant part of the install.log?
>
> Jaap
>
Actually I posted in my message the part from the log file I have thought is
relevant, maybe is not enough, but till this point (see below) the
installation proceeds normally ... What I can understand from the install.log,
is that the problem appears when the script is trying to download and install
"Enable" package...

--------------------
Link to http://pypi.python.org/simple/Enable/ ***BLOCKED*** by --allow-hosts

Couldn't find index page for 'Enable' (maybe misspelled?)
Scanning index of all packages (this may take a while)

Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts

No local packages or download links found for Enable>=3.1.0.dev,<=3.1.0
error: Could not find suitable distribution for
Requirement.parse('Enable>=3.1.0.dev,<=3.1.0')
Error installing ETS

real 1m12.983s
user 0m59.201s
sys 0m4.580s
sage: An error occurred while installing ets-3.2.0-20090518.p0
-----------------------------------

Leonard

Jaap Spies

unread,
Apr 21, 2010, 10:34:18 AM4/21/10
to sage-s...@googlegroups.com
leonard....@free.fr wrote:
> On Wednesday 21 April 2010 14:18:21 Jaap Spies wrote:

[...]

>>
>> Following my own instructions in the README.txt I successfully built ETS
>> on Fedora 12 64 bit.
>>
>> Can you post a link to the relevant part of the install.log?
>>
>> Jaap
>>
> Actually I posted in my message the part from the log file I have thought is
> relevant, maybe is not enough, but till this point (see below) the
> installation proceeds normally ... What I can understand from the install.log,
> is that the problem appears when the script is trying to download and install
> "Enable" package...

This info is not enough. There is no need to download Enable as it is part of
the package as it comes to you.

If you want more help, compress the relevant part of the install.log and put up
a link to it. As an alternative you can sent the compressed file
to jaapspies(AT)gmail.com

Jaap

Jaap Spies

unread,
Apr 21, 2010, 11:33:04 AM4/21/10
to sage-s...@googlegroups.com
leonard....@free.fr wrote:
> On Wednesday 21 April 2010 14:18:21 Jaap Spies wrote:

> Actually I posted in my message the part from the log file I have thought is
> relevant, maybe is not enough, but till this point (see below) the
> installation proceeds normally ... What I can understand from the install.log,
> is that the problem appears when the script is trying to download and install
> "Enable" package...
>
> --------------------
> Link to http://pypi.python.org/simple/Enable/ ***BLOCKED*** by --allow-hosts
>
> Couldn't find index page for 'Enable' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
>
> Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
>
> No local packages or download links found for Enable>=3.1.0.dev,<=3.1.0
> error: Could not find suitable distribution for
> Requirement.parse('Enable>=3.1.0.dev,<=3.1.0')
> Error installing ETS
>
> real 1m12.983s
> user 0m59.201s
> sys 0m4.580s
> sage: An error occurred while installing ets-3.2.0-20090518.p0
> -----------------------------------
>
> Leonard
>

The actual error is here:
==============================================================================
Building directory: Enable_3.1.0

Executing: /home/jeloaica/tools/sage-4.3.5/local/bin/python setup.py release build bdist_egg -d
/home/jeloaica/tools/sage-4.3.5/spkg/build/ets-3.2.0-20090518.p0/src/dist

******************************************************************************
ERROR: Build error: exited with value = 1
******************************************************************************

Can't see why this fails on your install.

Can you remove $SAGEROOT/spkg/build/ets-3.2.0.20090518
and try again?

Jaap

Jorge E. ´Sanchez Sanchez

unread,
Apr 21, 2010, 12:33:53 PM4/21/10
to sage-s...@googlegroups.com
Perhaps you have substituted unadverteadly some of the spkgs by previous versions, I got this message before following exactly the recommendations given in the Jaap Spies README instructions.

Best regards,
Jorge

> To: sage-s...@googlegroups.com
> From: j.s...@hccnet.nl
> Subject: [sage-support] Re: problems installing mayavi2/ets
> Date: Wed, 21 Apr 2010 17:33:04 +0200

Con Hotmail siempre estás conectado con quien quieres

leonard....@free.fr

unread,
Apr 22, 2010, 3:58:45 AM4/22/10
to sage-s...@googlegroups.com
OK, I did it again, but still get the same error ...

Leonard

leonard....@free.fr

unread,
Apr 22, 2010, 5:20:16 AM4/22/10
to sage-s...@googlegroups.com
> >===== Building directory: Enable_3.1.0
> >
> > Executing: /home/jeloaica/tools/sage-4.3.5/local/bin/python setup.py
> > release build bdist_egg -d
> > /home/jeloaica/tools/sage-4.3.5/spkg/build/ets-3.2.0-20090518.p0/src/dist
> >
> > *************************************************************************
> >***** ERROR: Build error: exited with value = 1
> > *************************************************************************
> >*****
> >
> > Can't see why this fails on your install.
> >
> > Can you remove $SAGEROOT/spkg/build/ets-3.2.0.20090518
> > and try again?
> >
> > Jaap
>
> _________________________________________________________________
> Hotmail: as HOT as always
> www.hotmailhotness.com.mx
>

Hi,

This is the list of packages I have installed within sage:

------------------
atlas-3.8.3.p12
blas-20070724
boehm_gc-7.1.p4
boost-cropped-1.34.1
bzip2-1.0.5
cddlib-094f.p5
cliquer-1.2.p5
cmake-2.6.2
configobj-4.5.3
conway_polynomials-0.2
cvxopt-0.9.p8
cython-0.12.1
dir-0.1
docutils-0.5.p0
ecl-10.2.1
eclib-20080310.p10
ecm-6.2.1.p2
elliptic_curves-0.1
examples-4.3.5
extcode-4.3.5
f2c-20070816.p2
flint-1.5.0.p4
flintqs-20070817.p4
fortran-20100118
freetype-2.3.5.p2
gap-4.4.12.p1
gd-2.0.35.p4
gdmodule-0.56.p6
genus2reduction-0.3.p6
gfan-0.4plus
ghmm-20080813.p0
givaro-3.2.13rc2.p0
gnutls-2.2.1.p5
graphs-20070722.p1
gsl-1.10.p2
iconv-1.13.1.p0
iml-1.0.1.p12
ipython-0.9.1.p0
jinja-1.2.p0
jinja2-2.1.1.p0
lapack-20071123.p1
lcalc-20080205.p4
libfplll-3.0.12.p0
libgcrypt-1.4.4.p2
libgpg_error-1.6.p3
libm4ri-20091120.p0
libpng-1.2.35.p0
linbox-1.1.6.p3
matplotlib-0.99.1.p4
maxima-5.20.1
mercurial-1.3.1.p1
moin-1.9.1.p1
mpfi-1.3.4-cvs20071125.p8
mpfr-2.4.2
mpir-1.2.2.p0
mpmath-0.14
networkx-0.99.p1-fake_really-0.36.p1
ntl-5.4.2.p11
numpy-1.3.0.p2
opencdk-0.6.6.p3
palp-1.1.p1
pari-2.3.3.p8
pexpect-2.0.p4
pil-1.1.6.p2
polybori-0.6.3-20091028
polytopes_db-20100210
prereq-0.7
pycrypto-2.0.1.p5
pygments-0.11.1.p0
pynac-0.1.11
PyQt4-4.6.2
python-2.6.4.p7
python_gnutls-1.1.4.p7
r-2.10.1.p0
ratpoints-2.1.3.p0
readline-6.0.p1
reportlab-2.2
rpy2-2.0.8
rubiks-20070912.p10
sage-4.3.5
sagenb-0.7.5.3
sage_scripts-4.3.5
sagetex-2.2.3.p0
scipy-0.7.p4
scipy_sandbox-20071020.p4
scons-1.2.0
setupdocs
setuptools-0.6c9.p0
singular-3-1-0-4-20100214
sip-4.9.3
sphinx-0.6.3.p4
sqlalchemy-0.5.8
sqlite-3.6.22
swig-1.3.31
symmetrica-2.0.p5
sympow-1.018.1.p6
sympy-0.6.4.p0
tachyon-0.98beta.p10
termcap-1.3.1.p1
twisted-9.0.p2
vtk-cvs-20090316.p0
weave-0.4.9.p0
wxPython-2.8.10.1.p0
zlib-1.2.3.p5
zn_poly-0.9.p3
zodb3-3.7.0.p3
-----------------------------------------


Regards,
Leonard

Jorge E. ´Sanchez Sanchez

unread,
Apr 22, 2010, 1:15:45 PM4/22/10
to sage-s...@googlegroups.com
The only thing I can imagine now, trying to help is that:

Is the setupdocs the one gotten following these directions?
# and if you want ets to build without internet connection
./sage -i setupdocs.spkg
or is the standard enthought setupdocs one?

I think they are different ones, because I supposed that the spkg is intended to do the install inside sage.

By the way, I would want to thank Jaap Spies for mantaining this ets spkg.

Best Regards
Jorge

Con Hotmail siempre estás conectado con quien quieres

--

Jaap Spies

unread,
Apr 22, 2010, 2:55:53 PM4/22/10
to sage-s...@googlegroups.com
Ok, I'm flabbergasted :) Don't know the difference between Suse and Fedora here.
I see you installed PyQt4. Do you intend to use this as a backend to mayavi2 and
Enable instead of wxPython?

Could you try on a fresh sage install with just the instruction from the README.txt?

Jaap

Jaap Spies

unread,
Apr 22, 2010, 3:30:21 PM4/22/10
to sage-s...@googlegroups.com
Jorge E. ´Sanchez Sanchez wrote:
> The only thing I can imagine now, trying to help is that:
>
> Is the setupdocs the one gotten following these directions?
>
> # and if you want ets to build without internet connection
> ./sage -i setupdocs.spkg
>
> or is the standard enthought setupdocs one?
>
> I think they are different ones, because I supposed that the spkg is
> intended to do the install inside sage.
>

Don't think this is of any influence.

> By the way, I would want to thank Jaap Spies for mantaining this ets spkg.
>

If there is any interest I could eventually upgrade this spkg to ets-3.4.0
if I find some time.

Jaap



> Best Regards
> Jorge

leonard....@free.fr

unread,
Apr 23, 2010, 7:20:38 AM4/23/10
to sage-s...@googlegroups.com
Hi,
I use PyQt4 backend to matplotlib, but is not an exclusive choice, I can use
wxPython instead.
So I tried a new installation from scratch, I built sage again and then I
followed the instructions from your README.txt.
Unfortunately the problem is persisting.

Leonard

Jaap Spies

unread,
Apr 23, 2010, 7:40:26 AM4/23/10
to sage-s...@googlegroups.com
leonard....@free.fr wrote:
> On Thursday 22 April 2010 20:55:53 Jaap Spies wrote:

[...]

>>
>> Could you try on a fresh sage install with just the instruction from the
>> README.txt?
>>
>> Jaap
>>
> Hi,
> I use PyQt4 backend to matplotlib, but is not an exclusive choice, I can use
> wxPython instead.
> So I tried a new installation from scratch, I built sage again and then I
> followed the instructions from your README.txt.
> Unfortunately the problem is persisting.
>

Can you send me the install.log once more?

Jaap

Jorge E. ´Sanchez Sanchez

unread,
Aug 5, 2010, 5:38:14 PM8/5/10
to sage-s...@googlegroups.com
Dear Jaap,

I am upgrading my sage installation and because I would need to rebuild the ets spkg. So, I would like to know if your upgrade offer is still open.


> To: sage-s...@googlegroups.com
> From: j.s...@hccnet.nl
> Subject: [sage-support] Re: problems installing mayavi2/ets
> Date: Thu, 22 Apr 2010 21:30:21 +0200
>
...

> If there is any interest I could eventually upgrade this spkg to ets-3.4.0
> if I find some time.
>
> Jaap
>
>
>
Thank you very much in advance
Jorge

Jorge E. ´Sanchez Sanchez

unread,
Oct 25, 2010, 8:29:44 PM10/25/10
to sage-s...@googlegroups.com
Dear Jaap,

I have made an ETS-3.5.0-20101024.p0.spkg (I've just modified the spkg-install, and every setup.cfg and setup.py for each one of the functions according to the ones you have in the ETS-3.2 spkg), everything compiles OK, but at the end I get this message:

==============================================================================
...
...
Building directory: TraitsBackendWX-3.5.0

Executing: /opt/sage-4.5.3/local/bin/python setup.py release build bdist_egg -d /opt/sage-4.5.3/spkg/build/ets-3.5.0-20101024.p0/src/dist

==============================================================================
Building directory: TraitsGUI-3.5.0

Executing: /opt/sage-4.5.3/local/bin/python setup.py release build bdist_egg -d /opt/sage-4.5.3/spkg/build/ets-3.5.0-20101024.p0/src/dist

WARNING: Could not build egg.info files: No module named enthought.enstaller.egg
error: No urls, filenames, or requirements specified (see --help)
error: Not a URL, existing file, or requirement spec: 'ETS_*'
Error installing ETS

real    2m25.848s
user    2m19.530s
sys    0m6.920s
sage: An error occurred while installing ets-3.5.0-20101024.p0
Please email sage-devel http://groups.google.com/group/sage-devel
==============================================================================

 it seems to me that I need another prerequisite having this "enthough.enstaller.egg" (but I don't know what package to install) perhaps you could give me some advice to surmount the problem

Best regards,
Jorge

Jorge E. ´Sanchez Sanchez

unread,
Oct 26, 2010, 12:02:26 PM10/26/10
to sage-s...@googlegroups.com
Just to tell you that I have been doing some googling and found I need two new packages Enstaller and Enstaller.GUI, but I don't know where I can get the sources in order to have a full ETS spkg, hope I can found it soon.

Best regards,
Jorge


From: hnr...@hotmail.com
To: sage-s...@googlegroups.com
Subject: [sage-support] problems installing mayavi2/ets
Date: Mon, 25 Oct 2010 19:29:44 -0500

Jorge E. ´Sanchez Sanchez

unread,
Oct 26, 2010, 9:27:04 PM10/26/10
to sage-s...@googlegroups.com
After all this process with some advice (I should say better some snarls) from enthought-dev's people I finally succeed to build and test ETS-3.5.0.spkg,
Subject: RE: [sage-support] problems installing mayavi2/ets
Date: Tue, 26 Oct 2010 11:02:26 -0500

Jaap Spies

unread,
Oct 27, 2010, 11:25:59 AM10/27/10
to sage-s...@googlegroups.com
Jorge E. ´Sanchez Sanchez wrote:
> After all this process with some advice (I should say better some
> snarls) from enthought-dev's people I finally succeed to build and test
> ETS-3.5.0.spkg,
>

Great! Indeed I was very busy, sorry not to have seen your messages.
Could you open a ticket and make your spkg available?

Cheers,

Jaap


Jorge E. ´Sanchez Sanchez

unread,
Oct 27, 2010, 12:33:28 PM10/27/10
to sage-s...@googlegroups.com
Dear Jaap,

Yes I assumed you were busy, so I decided to give it a try, the worst thing it could happen would be to install your wonderful one. Now, here's the thing, I am not quite sure all my changes were the best ones, because I am not the expert, just did trial and error during almost sixteen hours (oh well, I had to took some breaks after boring tests), until voila! it finally built and ran completely. Although, I suppose, now everybody could do the install just following all your instructions and replacing the ETS-3.2 spkg in your account by the one I made. Just tell me how and where can I upload it, the size of the spkg is around 50MB.

Best regards,
Jorge
PS I am attaching the last piece of the log report.

> Date: Wed, 27 Oct 2010 17:25:59 +0200
> From: j.s...@hccnet.nl
> To: sage-s...@googlegroups.com
> Subject: Re: [sage-support] problems installing mayavi2/ets
ETS-3.5.0.log.txt

Leonard JELOAICA

unread,
Nov 9, 2010, 6:16:11 PM11/9/10
to sage-s...@googlegroups.com
Dear Jorge,

I see you opened a ticket to make available your ets-3.5.0 spkg.
What is the follow up to your attempt, did you succeed the upload this spkg ?

Best regards,
Leonard
 
<ETS-3.5.0.log.txt>

Jorge E. ´Sanchez Sanchez

unread,
Nov 9, 2010, 9:42:21 PM11/9/10
to sage-s...@googlegroups.com
Yes Leonard,

 I opened the ticket No. 10196, but could not attach the spkg in the corresponding e-mail because only accepts files not larger than 2Mb, and it has 50.3Mb. My suggestion was to upload it to the SPKGS/ETS original directory, but according to the steps in the page "Producing New Sage packages":
 When your spkg is ready, you should post about it on sage-devel. If people there think it is a good idea, then post a link to the spkg on the Sage trac server (see The Sage Trac Server: Submitting Patches and Packages) so it can be refereed. Do not post the spkg itself to the trac server. You only need to provide a link to your spkg.
And I just don't know where I can put it, in order to anybody can access such a link.

Best regards,
Jorge


From: leonard....@free.fr

Subject: Re: [sage-support] problems installing mayavi2/ets
Date: Wed, 10 Nov 2010 00:16:11 +0100
To: sage-s...@googlegroups.com

Mitesh Patel

unread,
Nov 9, 2010, 9:46:13 PM11/9/10
to sage-s...@googlegroups.com
On 11/09/2010 08:42 PM, Jorge E. �Sanchez Sanchez wrote:
> I opened the ticket No. 10196, but could not attach the spkg in the
> corresponding e-mail because only accepts files not larger than 2Mb, and
> it has 50.3Mb. My suggestion was to upload it to the SPKGS/ETS original
> directory, but according to the steps in the page "Producing New Sage
> packages":
> /When your spkg is ready, you should post about it on sage-devel. If

> people there think it is a good idea, then post a link to the spkg on
> the Sage trac server (see /The Sage Trac Server: Submitting Patches and
> Packages/
> <http://www.sagemath.org/doc/developer/trac.html#chapter-trac>) so it

> can be refereed. Do not post the spkg itself to the trac server. You
> only need to provide a link to your spkg/.

> And I just don't know where I can put it, in order to anybody can access
> such a link.

You can use the spkg-upload Google Code repository:

http://code.google.com/p/spkg-upload/

Instructions for getting commit access are on that page.

> From: leonard....@free.fr
> Subject: Re: [sage-support] problems installing mayavi2/ets
> Date: Wed, 10 Nov 2010 00:16:11 +0100
> To: sage-s...@googlegroups.com
>
> Dear Jorge,
>
> I see you opened a ticket to make available your ets-3.5.0 spkg.
> What is the follow up to your attempt, did you succeed the upload this
> spkg ?
>
> Best regards,
> Leonard
>

> Le 27 oct. 2010 � 18:33, Jorge E. �Sanchez Sanchez a �crit :


>
> Dear Jaap,
>
> Yes I assumed you were busy, so I decided to give it a try, the
> worst thing it could happen would be to install your wonderful one.
> Now, here's the thing, I am not quite sure all my changes were the
> best ones, because I am not the expert, just did trial and error
> during almost sixteen hours (oh well, I had to took some breaks
> after boring tests), until voila! it finally built and ran
> completely. Although, I suppose, now everybody could do the install
> just following all your instructions and replacing the ETS-3.2 spkg
> in your account by the one I made. Just tell me how and where can I
> upload it, the size of the spkg is around 50MB.
>
> Best regards,
> Jorge
> PS I am attaching the last piece of the log report.
>
> > Date: Wed, 27 Oct 2010 17:25:59 +0200

> > From: j.s...@hccnet.nl <mailto:j.s...@hccnet.nl>
> > To: sage-s...@googlegroups.com
> <mailto:sage-s...@googlegroups.com>

Jorge E. ´Sanchez Sanchez

unread,
Nov 11, 2010, 2:00:23 PM11/11/10
to sage-s...@googlegroups.com
Thank you very much Mitesh,

Leonard, now I can announce that I have already upload the file to the spkg-upload Google Code repository, and everybody could do the install just following all Jaap Spies instructions (to build the prerequisites) and replacing the ETS-3.2 spkg by the one I made.

Cheers!
Jorge

> Date: Tue, 9 Nov 2010 20:46:13 -0600
> From: qed...@gmail.com
> To: sage-s...@googlegroups.com

> Subject: Re: [sage-support] problems installing mayavi2/ets
>

Leonard JELOAICA

unread,
Nov 11, 2010, 8:16:08 PM11/11/10
to sage-s...@googlegroups.com
Great, thank you Jorge!

Cheers!
Reply all
Reply to author
Forward
0 new messages