[vtkusers] Vtk 6.1 Standalone Python Interface (Installer) Windows pyd files in wrong location

David E DeMarle dave.demarle at kitware.com
Fri Jan 10 14:00:03 EST 2014


> vtkCommonCorePython.pyd is located inside the bin directory, while in the
> installer version it ends up in "C:\Program Files (x86)\VTK
> 6.1.0-RC1\lib\site-packages\vtk".

I'll take a look before rc2.

> Also it is strange to use the "Program Files (x86)" directory for a 64 bit
> applications. I am using windows 8.1 64 bits, and the version I tried was
> vtkpython-6.1.0.rc1-win64.exe

I'll fix that before rc2.

> Do you think it would be possible to distribute this as a python package
in pypi?

Not likely this release, but certainly down the road that is the right path.

Thanks for the great feedback!

On Fri, Jan 10, 2014 at 11:45 AM, diego0020 <da.angulo39 at uniandes.edu.co>wrote:

> Hello
>
> I think the new vtk python installers are a great idea. We use vtkPython a
> lot and having to compile from source on all our machines was a pain.
> Thanks
>
> However after a french installation, commands like
>
> import vtkPythonCore
>
> Which is for example called by
>
> from vtk.tk.vtkTkRenderWindowInteractor import \
>      vtkTkRenderWindowInteractor
>
> would fail
>
> I looked for differences between the compiled source, and the installed
> files, and I noticed in the compiled from source version
> vtkCommonCorePython.pyd is located inside the bin directory, while in the
> installer version it ends up in "C:\Program Files (x86)\VTK
> 6.1.0-RC1\lib\site-packages\vtk".
>
> This directory is not included in the sys.path variables (nor should it
> be),
> only its parent is included.
>
> I moved all the *.pyd files to the bin directory, and now it works.
>
> Also it is strange to use the "Program Files (x86)" directory for a 64 bit
> applications.
> I am using windows 8.1 64 bits, and the version I tried was
> vtkpython-6.1.0.rc1-win64.exe
>
> Again, I think this installer is a great idea, and it will be really useful
> to let people start using vtk very fast. Do you think it would be possible
> to distribute this as a python package in pypi?
>
> Best regards
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Vtk-6-1-Standalone-Python-Interface-Installer-Windows-pyd-files-in-wrong-location-tp5725312.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140110/ad707f53/attachment.htm>


More information about the vtkusers mailing list