-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/11/10 3:24 AM, Miguel Ortiz Lombardia wrote: > Hi all, > > I want to use the python wrappers for vtk. > I installed vtk54, vtk54-shlibs and vtk54-dev, but they don't include the > wrappers. So I went on and installed pyvtk-py25. > > But then I face this problem: > > (A)> /sw64/bin/python2.5 > Python 2.5.5 (r255:77872, May 15 2010, 03:23:49) > [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import vtk > Fatal Python error: Interpreter not initialized (version mismatch?) > Abort trap > > This is on: > > OSX 10.6.3 (64bit) > XCode 3.2.2 > fink: > Package manager version: 0.29.99.cvs > Distribution version: selfupdate-rsync Wed Jun 9 19:12:06 2010, 10.6, x86_64 > > Any help would be appreciated. > Cheers, > > > -- Miguel > > Architecture et Fonction des Macromolécules Biologiques (UMR6098) > CNRS, Universités d'Aix-Marseille I & II > Case 932, 163 Avenue de Luminy, 13288 Marseille cedex 9, France > Tel: +33(0) 491 82 55 93 > Fax: +33(0) 491 26 67 20 > e-mail: [email protected] > > >
I don't get that message: $ /sw/bin/python2.5 Python 2.5.5 (r255:77872, May 14 2010, 13:19:00) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import vtk Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named vtk Did _you_ create a "vtk" in your python25 site-packages? And if you do "dpkg -L pyvtk-py25", you'll find that all of the files go in /sw/lib/python2.5/site-packages/pyvtk, which suggests that you really want to import "pyvtk". It works here: $ /sw/bin/python2.5 Python 2.5.5 (r255:77872, May 14 2010, 13:19:00) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pyvtk - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwSOL4ACgkQB8UpO3rKjQ84PACfXxYQBnk/swRFW6eKpLsKlYaW ne4An1A+FeqtiFVdOLYbgbNhasttHp27 =4Fxx -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
