As a side note, it's always worth running
port variants <package>
when considering installing <package>
That way you can pick from the list and not have to guess, though of course
variant names should be consistent. Have you encountered ports that have +py26
as a variant? Sounds like it might be an error by the packager.
Russell
--- Begin Message ---
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
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
--- End Message ---
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users