Dear Sergio,
 we did some tests yesterday, and vmtk binary worked with Python 2.7.2 out of 
the box
on Windows 7 both on 32 and 64 bit (we also tested with 2.7.1 and it worked as 
well).

Indeed, Python is designed to be binary compatible across minor versions (2.6, 
2.7),
and this is what I was expecting until your email, which caused me to assume 
such 
binary compatibility wasn't really there.

Of course I'm aware that the same thing didn't work for you, so the best way 
would be
to investigate what the issue might be in your case. 

For starters, did you use the 64 bit or 32 bit python installer to install 
2.7.2?


Luca


On May 21, 2012, at 12:38 PM, Sergio Vera wrote:

> 
> 
> Hi Luca, 
> 
> Thanks, I will try to make both pythons to coexist. I'll let you know if I 
> find some working scheme.
> 
> Regards
> 
> 
> On Fri, May 18, 2012 at 5:24 PM, Luca Antiga <luca.ant...@orobix.com> wrote:
> Dear Sergio,
>  I'm sorry for this inconvenience, but unfortunately vmtk is linked to the 
> python 2.7.3
> libraries so that binaries are not compatible cross-version. There's not much 
> we can 
> do about it (ideas anyone?).
> 
> In the previous release we included the interpreter inside vmtk, which was a 
> good idea.
> I thought this time we could make it easier to get people started with Python 
> by
> installing it system-wide, but in retrospect this could create problems with 
> the more
> advanced users. We'll put more thought on it, suggestions (from everyone) are 
> welcome.
> 
> I read through googling that you can have multiple python version on your 
> machine,
> installed in different folders. The question is what system settings the 
> installer sets for
> the python library search paths (the equivalent of PYTHONPATH in the 
> registry).
> 
> We'll look at this issue on Monday. Anyone on the list has any idea or time 
> to experiment?
> 
> Thanks!
> 
> 
> Luca
> 
> 
> 
> On May 18, 2012, at 1:15 PM, Sergio Vera wrote:
> 
>> Dear all
>> I've just installed vmtk1.0 in my win 7 64 bit machine.
>> As  I have python 2.7.2 running on my system I installed vmtk without the 
>> python interpreter.
>> 
>> My problem is that vmtk is not working. If in pypepad I write:
>> vmtkimagereader -ifile c:/tmp/ABDVascular.mha
>> I obtain No module named vmtkimagereader as a response
>> 
>> If I execute vmtkmarchingcubes:
>> 
>> Creating vmtkMarchingCubes instance.
>> Automatic piping vmtkmarchingcubes
>> Parsing options vmtkmarchingcubes
>>     ImageInputFileName = c:\tmp\ABD-Vascular-seg.mha
>>     Level = 0.5
>> Explicit piping vmtkmarchingcubes
>> Input vmtkmarchingcubes members:
>>     Id = 0
>>     Disabled = 0
>>     Image = None
>>     ImageInputFileName = c:\tmp\ABD-Vascular-seg.mha
>>     ArrayName = 
>>     Level = 0.5
>>     Connectivity = 0
>>     SurfaceOutputFileName = 
>> Cannot import module vmtkimagereader required for reading Image
>> 
>> Is it possible to use vmtk using an external python. I've tried to install 
>> vmtk's own python 2.7.3 but this messed badly my other python stuff.
>> 
>> Regards
>> 
>> 
>> -- 
>> Sergio Vera
>> 
>>  Alma IT Systems
>>  C/ Vilana, 4B, 4º 1ª
>>  08022 Barcelona
>>  T. (+34) 932 380 592
>>  www.alma3d.com
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and 
>> threat landscape has changed and how IT managers can respond. Discussions 
>> will include endpoint security, mobile security and the latest in malware 
>> threats. 
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
>> vmtk-users mailing list
>> vmtk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/vmtk-users
> 
> 
> 
> 
> -- 
> Sergio Vera
> 
>  Alma IT Systems
>  C/ Vilana, 4B, 4º 1ª
>  08022 Barcelona
>  T. (+34) 932 380 592
>  www.alma3d.com
> 
> 
> 
> -- 
> Sergio Vera
> 
>  Alma IT Systems
>  C/ Vilana, 4B, 4º 1ª
>  08022 Barcelona
>  T. (+34) 932 380 592
>  www.alma3d.com
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to