[vtkusers] python 2.7 and vtk
Tom Parker
tomparker at personaltelemetry.com
Thu Jan 28 11:26:29 EST 2016
Vikash,
I am working on the same issue.
To share my results, I never got this completely working on my mac El Capitan, but these environment variables work for me on W10, VTK 7 and VS 2015 Community Edition with a 64 bit build.
These are the environment variables I edited for VTK Python 2.7 on Windows.
PATH
C:\Python27\
C:\Python27\Scripts
C:\Software\VTK-7.0.0.rc2\bin\bin\Debug
C:\Software\VTK-7.0.0.rc2\bin\lib\Debug
PYTHONPATH
C:\Python27\lib
C:\Software\VTK-7.0.0.rc2\bin\bin\Debug
C:\Software\VTK-7.0.0.rc2\bin\lib\Debug
C:\Software\VTK-7.0.0.rc2\bin\Wrapping\Python
C:\Software\VTK-7.0.0.rc2\bin\Wrapping\Python\vtk
Now I can run python.exe and successfully import vtk and run most python examples without error.
From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Vikash Gupta
Sent: Wednesday, January 27, 2016 6:16 PM
To: vtkusers at vtk.org
Subject: [vtkusers] python 2.7 and vtk
Hi everyone,
This might be a solved problem but I was not able to find a solution that worked for me. So, if someone can help me out it will be really great.
I am trying to use vtkpython. I cannot install it using pip. So, I found the binary packages for python on the vtk website. The vtkPython executable seems like a python interpreter.
Is there a way I could use the classical Python 2.7 interpreter and still use the vtk modules. The reason, I am more inclined to use my old interpreter because I can use pip for installing packages.
Any help ??
Thanks
Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160128/9e94e754/attachment.html>
More information about the vtkusers
mailing list