[MacPorts] #46429: nmap @6.47 +zenmap python modules not installed correctly

MacPorts noreply at macports.org
Mon Jan 5 18:36:03 PST 2015


#46429: nmap @6.47 +zenmap python modules not installed correctly
-------------------------------+--------------------------------
 Reporter:  ulrich.felzmann@…  |      Owner:  macports-tickets@…
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.3.3
 Keywords:  zenmap python      |       Port:  nmap @6.47 +zenmap
-------------------------------+--------------------------------
 zenmap can't find its python modules since they are installed in
 lib/python2.7/site-packages/zenmap instead of
 Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
 packages I guess.

 {{{
 zenmap
 Could not import the zenmapGUI.App module: 'No module named
 zenmapGUI.App'.
 I checked in these directories:
     /opt/macports/bin
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/py2app-0.9-py2.7.egg
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/modulegraph-0.12-py2.7.egg
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/altgraph-0.12-py2.7.egg
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /plat-darwin
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /plat-mac
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /plat-mac/lib-scriptpackages
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /lib-tk
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /lib-old
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/readline
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /lib-dynload
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/gtk-2.0
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pyspread/src
 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/wx-3.0-osx_cocoa
 If you installed Zenmap in another directory, you may have to add the
 modules directory to the PYTHONPATH environment variable.
 }}}

 Works by manually setting the PYTHONPATH to lib/python2.7/site-
 packages/zenmap.

-- 
Ticket URL: <https://trac.macports.org/ticket/46429>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list