dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18042
Re: [Bug 556864] Re: Unable to import Viper (no module named vtk)
When I had this problem, the solution was to install vtk-devel +python26
instead of vtk-devel +py26, which was advised in the dorsal installation
at that time. I think that is changed now.
Aron
On 8 Apr, 2010, at 19:15, Tor Gillberg wrote:
>
> Thanks.
> Do you know how I fix that?
> I have installed everything that is adviced when installing Dorsal.
>
> Regards
> /Tor
>
> On 4/8/10 18:15 , "Johannes Ring" <johannr@xxxxxxxxx> wrote:
>
>> Sorry, this is not a bug in DOLFIN. It seems that you don't have
>> installed the Python interface to VTK since you are unable to import VTK
>> from Python.
>>
>> ** Changed in: dolfin
>> Status: New => Invalid
>
> --
> Unable to import Viper (no module named vtk)
> https://bugs.launchpad.net/bugs/556864
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in DOLFIN: Invalid
>
> Bug description:
> Hi!
> I recently sucesfully installed dorsal, but I can not use Viper in ipython. My problem is very similar to that relating to Question #102151 but there seem not to be a similar solution. I have tried to reinstall vtk-devel and then dorsal, but have not been succesfull.
>
> The following is my output when trying to import viper in ipython.
>
> In [2]: import viper
> ------------------------------------------------------------
> Traceback (most recent call last):
> File "<ipython console>", line 1, in <module>
> File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/viper/__init__.py", line 23, in <module>
> from viper import *
> File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/viper/viper.py", line 48, in <module>
> import vtk, numpy, os, math
> ImportError: No module named vtk
>
> Any Ideas?
> Thank you!
> /Tor
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/dolfin/+bug/556864/+subscribe
--
Unable to import Viper (no module named vtk)
https://bugs.launchpad.net/bugs/556864
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
Status in DOLFIN: Invalid
Bug description:
Hi!
I recently sucesfully installed dorsal, but I can not use Viper in ipython. My problem is very similar to that relating to Question #102151 but there seem not to be a similar solution. I have tried to reinstall vtk-devel and then dorsal, but have not been succesfull.
The following is my output when trying to import viper in ipython.
In [2]: import viper
------------------------------------------------------------
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/viper/__init__.py", line 23, in <module>
from viper import *
File "/Users/tor/Work/FEniCS/lib/python2.6/site-packages/viper/viper.py", line 48, in <module>
import vtk, numpy, os, math
ImportError: No module named vtk
Any Ideas?
Thank you!
/Tor
Follow ups
References