no module named vtk
Frank Schima
macsforever2000 at macports.org
Wed Mar 10 07:41:45 PST 2010
On Mar 10, 2010, at 7:04 AM, Aron Wahlberg wrote:
> Thank you for your answers!
>
> You were right Brandon, I had two port versions of python. I uninstalled the older and inactive version. I made sure I was running the remaining python from macports, not the MacOSX one by "which python", which points at /opt/local/bin/python. Then I reinstalled vtk:
>
>> sudo port uninstall vtk-devel
>> sudo port clean --all vtk-devel
>> sudo port -v install vtk-devel +py26
>
> However, I still get no module named vtk-devel. Other ideas?
You want to install the python26 variant, not "py26".
More information about the macports-users
mailing list