One thing that's curious, though, is that output of the pkgutil command. I think I will have time and energy to clean up this and others of my fink packages only after we definitely ditch OSX 10.4 and get rid of python <=2.5 What does a well diversified self-managed investment portfolio look like? I think I will have time and energy to clean up this and others of my fink packages only after we definitely ditch OSX 10.4 and get rid of python <=2.5
edu> Date: 2012-03-30 5:20:32 Message-ID: 95B5744F24D84E5FB2B35B47484A9BB5 () gmail ! Actually the correct PYTHON_INCLUDE_DIR should be /opt/local/Library/Frameworks/Python.framework/Headers. > > Since this directory is set automatically during installation, how can I correct this problem? So I tried the difficult one: to compile VMTK from source. http://www.vtk.org/pipermail/vtkusers/2013-June/079987.html samueljohn commented Mar 11, 2013 Yes please untap, update and check that that these errors are gone.
All Rights Reserved. Where I've seen this problem before is when python is trying to load an old vtk (one built without macports, or something like that). So it compiles okay and, with some \ effort,
This trick had been reported here: http://old.nabble.com/broken-vtkTkRenderWindowInteractor.py-in-5.2.0--td19263141.html AFAIK, this problem should be solved in vtk-5.6 Thanks again, I have finally managed to see the program that needed vtk running! http://stackoverflow.com/questions/14501854/vtk-import-makes-python-to-crash But I thank you very much for your input and I would appreciate other insights at this respect. 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. 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
However, you might try checking for "vtkAssembly" via dpkg -S vtkAssembly to see if it is indeed installed, but in a strange place. -- Alexander K. have a peek at these guys I then modify my .bash_profile accordingly and: > - After doing so I type in ipython: from vmtk import vtkvmtk and get the exact same error I got previously: Fatal Python ok. Thanks for any suggestion, Miguel On Fri, Jun 29, 2012 at 7:26 AM, Miguel Sotaquira
thanks, Freddie sbfreddie commented Aug 16, 2012 Still some strangeness, if I ask which python it responds with: /usr/local/bin/python Which is correct, but if I ask which python version it responds Here is my brew doctor output : Error: Failed to import: actions Error: Failed to import: actions_test Error: Failed to import: adobe-air Error: Failed to import: anvil Error: Failed to import: After following the "Installing from source" procedure, and using the CMake default values everything goes fine and VMTK is built. check over here However, using vtkpython to call the program I wanted to run did the trick!
So I checked the CMakeCache.txt file in the VTK-build subdirectory and found this configuration for python: > PYTHON_EXECUTABLE:FILEPATH=/opt/local/bin/python2.7 > PYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Headers > PYTHON_LIBRARY:FILEPATH=/opt/local/lib/libpython2.7.dylib > > I think the problem is that PYTHON_INCLUDE_DIR You can still make this work by commenting out Macports-related entries in your .bash_profile, but this means that you'll have to work with system python > 2. I don't think you can achieve what you want from build_visit >>> alone. >>> >>> Probably easiest thing to do is... >>> >>> ./build_visit --no-visit --thirdparty-path
Here's the error: > > > > Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) > > [GCC 4.2.1 (Apple Inc.
sudo port -dv clean all sudo port -dv selfupdate sudo port -dv upgrade outdated Should help. under 10.7 air:~ blaise$ export PYTHONPATH=/opt/HPC/visit-2.3.0/2.3.0/darwin-x86_64/lib air:~ blaise$ python Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. So, remove --python from the >>> command-line and it won't attempt to download/install it. >>> >>> As for using existing installed python, I am honestly not sure that is >>> easily Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of
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. from gnuradio.grc.python.Platform import Platform Fatal Python error: Interpreter not initialized (version mismatch?) Any suggestions on where I could go from here? Sign up for free to join this conversation on But in the Python \ interpreter, running: import sys print sys.path gives this: ['', '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', \ '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages', ... \ '/Library/Python/2.7/site-packages/VTK-5.8.0-py2.7.egg, ...] As for running the vtkpython executable, it too crashes: dyld: this content 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
For instance: File "/Users/mol/tmp/VEDA/mod/sym.py", line 18, in
Please don't fill out this field. Terms Privacy Security Status Help You can't perform that action at this time. My configuration is: - Mac OS X 10.6.8 - Python 2.7.3 (installed via Macports) In order to use vmtk I've tried several approaches: 1. Already have an account?
There brew update, brew doctor and hopefully brew install python samueljohn was assigned Mar 21, 2013 XL64 commented Mar 21, 2013 You solved my problem ! Replace lines matching a pattern with lines from another file in order "Rollbacked" or "rolled back" the edit? help -> Python's own help system. Are all your ports up-to-date?
Thanks, Miguel Re: [vmtk-users] Problems using VMTK python libraries on python 2.7.3 From: Miguel Sotaquira