[vtk-developers] VTK in virtualenv

Matt McCormick matt.mccormick at kitware.com
Thu Oct 18 13:42:48 EDT 2012


Hi DJ,

Thanks for the tip.  I tried that, but I get the following error:

running install
running bdist_egg
running egg_info
creating VTK.egg-info
writing VTK.egg-info/PKG-INFO
writing top-level names to VTK.egg-info/top_level.txt
writing dependency_links to VTK.egg-info/dependency_links.txt
writing manifest file 'VTK.egg-info/SOURCES.txt'
warning: manifest_maker: standard file 'setup.py' not found

error: package directory 'vtk' does not exist

I am using VTK 6.  Is Python packaging working in VTK master?

Thanks,
Matt

On Thu, Oct 18, 2012 at 5:26 PM, Dhanannjay (DJ) Deo
<dhanannjay.deo at kitware.com> wrote:
> Hello Matt,
>
> I would run vtk module setup from virtualenv as
>
> python <path_to_vtk_build>/Wrapping/Python/setup.py install
>
> That will install vtk python in virtualenv.  It is also necessary to
> have correct vtk libraries in LD_RUN_PATH. I have not tested this (I
> usually have only one VTK in system)
> But this link may help
>           https://groups.google.com/forum/?fromgroups=#!topic/python-virtualenv/-U4epR1YWFk
>
> Cheers,
>
> :)
>
> On Thu, Oct 18, 2012 at 11:37 AM, Matt McCormick
> <matt.mccormick at kitware.com> wrote:
>> Hi,
>>
>> Does anyone know where I can find instructions or have simple
>> recommendations for running VTK from a Python virtualenv?
>>
>> Thanks,
>> Matt
>
>
>
> --
> Dhanannjay (D'jay) Deo, Ph.D.
> Scientific Visualization
> Kitware Inc.
> www.kitware.com
> Phone : (518)-836-2196



More information about the vtk-developers mailing list