no module named vtk
Aron Wahlberg
aron at simula.no
Fri Mar 12 01:22:07 PST 2010
On 10 Mar, 2010, at 16:41, Frank Schima wrote:
>
>
>
> 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".
Ah, I see. Thank you very much Frank. That solved my problem. Just by curiosity: could you give a short explanation of the differences of +py26 and +python26.
Thank's to all you helpful souls!
Aron
More information about the macports-users
mailing list