Where does zenmap.conf live?

Ryan Schmidt ryandesign at macports.org
Mon Nov 10 03:01:43 PST 2008


On Nov 10, 2008, at 04:54, Charles Darwin wrote:

> On 9-Nov-08, at 11:42 PM, Bryan Blackburn wrote:
>
>> On Sun, Nov 09, 2008 at 07:16:17PM -0500, Charles Darwin said:
>> [...]
>>> $ zenmap
>>>  File "/Volumes/neo/opt/bin/zenmap", line 102, in <module>
>>>    import zenmapGUI.App
>>>  File "/Volumes/neo/opt/lib/python2.5/site-packages/zenmapGUI/ 
>>> App.py",
>>> line 34, in <module>
>>>    import gtk
>>> Error in sys.excepthook:
>>> Traceback (most recent call last):
>>>  File "/Volumes/neo/opt/bin/zenmap", line 47, in excepthook
>>>    import gtk
>>> ImportError: No module named gtk
>>
>> So here zenmap can't load the gtk module, but
>> [...]
>>>
>>> $ /Volumes/neo/opt/bin/python2.5 -c 'import gtk' # this fires up  
>>> Xquatz
>>
>> this works...odd.  Do you have the python_select port installed,  
>> and used it
>> to select 2.5 as the default?
>
> No. I mean:
> $ which -a python_select
> $

I think Bryan is recommending that you install and use the  
python_select port. From the python25 port's post-activate message:


> To fully complete your installation and make python 2.5 the  
> default, please run
>
> 	sudo port install python_select
> 	sudo python_select python25





More information about the macports-users mailing list