Install error - util and psutil not found

Asked by Jamessy

I've encountered the following errors when installing MenuLibre 2.0.3 by executing "sudo python setup.py install".

"ERROR: Python module util not found
ERROR: Python module psutil not found"

My system: Elementary OS, Luna. Python 2.7.3.

Your help would be greatly appreciated!

--James

Question information

Language:
English Edit question
Status:
Expired
For:
MenuLibre Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sean Davis (bluesabre) said :
#1

Be sure to install python-psutil first. Let me know if that helps.

Revision history for this message
Jamessy (jameskg2g) said :
#2

Thank you for your reply. I've installed python-psutil, and did "sudo python setup.py install". The following is the error message:

Traceback (most recent call last):
  File "setup.py", line 184, in <module>
    cmdclass={'install': InstallAndUpdateDataDirectory}
  File "/usr/lib/python2.7/dist-packages/DistUtilsExtra/auto.py", line 98, in setup
    __requires(attrs, src_all)
  File "/usr/lib/python2.7/dist-packages/DistUtilsExtra/auto.py", line 458, in __requires
    __add_imports(imports, s, attrs)
  File "/usr/lib/python2.7/dist-packages/DistUtilsExtra/auto.py", line 399, in __add_imports
    elif node.module and __external_mod(cur_module, node.module, attrs):
  File "/usr/lib/python2.7/dist-packages/DistUtilsExtra/auto.py", line 341, in __external_mod
    mod = __import__(cur_module + '.' + module)
  File "/home/jsk/Downloads/menulibre-2.0.3/menulibre/__init__.py", line 23, in <module>
    from menulibre import MenulibreApplication
  File "/home/jsk/Downloads/menulibre-2.0.3/menulibre/MenulibreApplication.py", line 25, in <module>
    from . import MenuEditor, MenulibreXdg, XmlMenuElementTree, util
  File "/home/jsk/Downloads/menulibre-2.0.3/menulibre/XmlMenuElementTree.py", line 55, in <module>
    class XmlMenuElement(Element):
TypeError: Error when calling the metaclass bases
    cannot create 'builtin_function_or_method' instances

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.