sserebrinsky | 1 Sep 03:20 2008
Picon

Re: Problems executing MayaVi2

Hi Prabhu

If alternatively I successfully do

  > easy_install ETS[nonets]

would it be easy later on to uninstall packages (eggs) not needed by
MayaVi, such that no other dependencies are broken? I am not familiar
at all with python eggs, but they seem to be very similar to RPMs.

Cheers,

Santiago

On Sun, Aug 31, 2008 at 12:47 PM, Prabhu Ramachandran
<prabhu@...> wrote:
> Hi,
>
> sserebrinsky@... wrote:
>> I also think that the problem is essentially finding vtk. I did before
>> the attempt of "import vtk" from a python prompt, and it does not
>> work. To help solving the issue, I am including below the list of
>> files that I have in my mayavi (ver 1.5) and vtk directories, taken as
>> the output from
>>   [MayaVi]$ find . > ../mayavi-filelist.txt
>>   [VTK 5.2]$ find . > ../vtk-filelist.txt
>> What I found is that someone already had a problem with "import vtk"
>> but that bug was solved. Anyway, that led me to observing that my vtk
>> does not have a directory "Wrapping", which is perhaps necessary to
>> have the python wrappers (this led me to trying pyvtk, to no avail, of
(Continue reading)

Prabhu Ramachandran | 1 Sep 13:19 2008
Picon

Re: Problems executing MayaVi2

sserebrinsky@... wrote:
> Dear Prabhu,
> 
> Is there a similar standalone installer of MayaVi2 for Windows?

Nope, not that I know of.  I don't believe it should be hard to make one 
with bbfreeze but I do not have the time for it ATM.  It would be nice 
if someone did this though.

cheers,
prabhu
Prabhu Ramachandran | 1 Sep 13:23 2008
Picon

Re: Problems executing MayaVi2

sserebrinsky@... wrote:
> As of now, that allowed me to "import vtk" inside python.
> 
> I want to solve the "...try compiling with MingW32, by passing "-c
> mingw32" to setup.py." issue.

Google gave me these:

http://peak.telecommunity.com/DevCenter/EasyInstall#controlling-build-options

http://peak.telecommunity.com/DevCenter/EasyInstall#configuration-files

http://mail.python.org/pipermail/distutils-sig/2007-September/008251.html

Which should solve your problem.

cheers,
prabhu
Prabhu Ramachandran | 1 Sep 13:25 2008
Picon

Re: Problems executing MayaVi2

sserebrinsky@... wrote:
> Hi Prabhu
> 
> If alternatively I successfully do
> 
>   > easy_install ETS[nonets]
> 
> would it be easy later on to uninstall packages (eggs) not needed by
> MayaVi, such that no other dependencies are broken? I am not familiar
> at all with python eggs, but they seem to be very similar to RPMs.

AFAIK, easy_install does not have a nice uninstall option.  What I do to 
uninstall is remove the eggs or egg directories and edit the 
easy-install.pth to remove the entries.  This means you will do the 
uninstall manually.  If you don't want to do that, just doing 
easy_install Mayavi[nonets] should be better.

cheers,
prabhu
sserebrinsky | 1 Sep 14:41 2008
Picon

Re: Problems executing MayaVi2

Dear Prabhu,

Finally, I have MayaVi working in one of my two systems. I could have
vtk+python by usgin the package that I mentioned before
http://cpbotha.net/2007/08/02/python-enabled-vtk-51-and-itk-32-windows-binaries/

and I could have mingw read by setup.py (after getting the error
"...error: Setup script exited with error: Python was built with
Visual Studio 2003...") by following

http://bytes.com/forum/thread824677.html

I quote the essential part here: "To tell distutils to use this
compiler for all extension modules, create pydistutils.cfg file with
the following contents:

[build_ext]
compiler=mingw32

See this page for details about this file:

http://docs.python.org/inst/config-syntax.html
"

This way, I could have Mayavi2 compiled, even though the installation
of ETS did not go through the end. I am including below the error
message.

Anyway, after Mayavi was compiled and installed, and ETS installation
exited with error, I tried "mayavi2", and since it said that it did
(Continue reading)

David Cournapeau | 1 Sep 14:25 2008
Picon
Picon

Re: Problems executing MayaVi2

sserebrinsky@... wrote:
> Hi Prabhu
>
> If alternatively I successfully do
>
>   > easy_install ETS[nonets]
>
> would it be easy later on to uninstall packages (eggs) not needed by
> MayaVi, such that no other dependencies are broken? I am not familiar
> at all with python eggs, but they seem to be very similar to RPMs.
>   

python eggs lack most useful features from rpm. A more accurate
comparison would be java archives (jar).

cheers,

David
cyril giraudon | 1 Sep 16:15 2008
Picon

TreeNode / add attribute / menu label

Hello,

I use a TreeNode object with its add attribute.
The created menu is populated with labels which are the name of the 
"added" classes.

Is it possible to customize the menu label for the add attribute ?

Thanks a lot,

Cyril.

(I use Trait 2.0.4)
Dave Peterson | 1 Sep 18:51 2008

Re: Problems executing MayaVi2

sserebrinsky@... wrote:
> 1- It looks that there are issues with the versions of eggs previously
> installed by that ETS. I do not find clear ways of going back to a
> clean situation with no ETS. I am including below the output.
> Do you know a way of cleanly getting rid of all eggs, so I can proceed
> with the installation of the latest ETS?
>   

This is the same basic problem as people trying to upgrade an EPD 
2.5.2001 install to ETS 3.0.   There are instructions on the wiki here 
that will help you get through this:
    https://svn.enthought.com/enthought/wiki/UpgradingEPD252001ToETS3

-- Dave
Brennan Williams | 2 Sep 00:02 2008

Re: TreeNode / add attribute / menu label


cyril giraudon wrote:
> Hello,
>
> I use a TreeNode object with its add attribute.
> The created menu is populated with labels which are the name of the 
> "added" classes.
>
> Is it possible to customize the menu label for the add attribute ?
>
>   
I populate my menus using something like....

        menu=Menu(
            Action(name='Edit',
            action='object.editsettings'),
        )
> Thanks a lot,
>
> Cyril.
>
> (I use Trait 2.0.4)
>
> _______________________________________________
> Enthought-dev mailing list
> Enthought-dev@...
> https://mail.enthought.com/mailman/listinfo/enthought-dev
>
>
>   
(Continue reading)

sserebrinsky | 2 Sep 05:28 2008
Picon

Re: Problems executing MayaVi2

Hi,

Finally, I solved the problems in my second system too. The vtk
package with python wrappers that I got from
http://cpbotha.net/2007/08/02/python-enabled-vtk-51-and-itk-32-windows-binaries/
(great binaries!) requires the presence of some DLLs. See my comments
(from sancho) in that URL for the solution.

Hope this helps other people too.

Cheers,

Santiago

PS: Dependency Walker rocks!

On Mon, Sep 1, 2008 at 1:51 PM, Dave Peterson <dpeterson@...> wrote:
> sserebrinsky@... wrote:
>> 1- It looks that there are issues with the versions of eggs previously
>> installed by that ETS. I do not find clear ways of going back to a
>> clean situation with no ETS. I am including below the output.
>> Do you know a way of cleanly getting rid of all eggs, so I can proceed
>> with the installation of the latest ETS?
>>
>
> This is the same basic problem as people trying to upgrade an EPD
> 2.5.2001 install to ETS 3.0.   There are instructions on the wiki here
> that will help you get through this:
>    https://svn.enthought.com/enthought/wiki/UpgradingEPD252001ToETS3
>
(Continue reading)


Gmane