0
我想從http://rumps.readthedocs.org/en/latest/examples.html運行一些演示 使用可笑簡單的Mac OS X Python狀態欄應用程序, AttributeError: 'module' object has no attribute 'App'
python rumps不工作在OS X 10.10 - AttributeError:'模塊'對象沒有屬性'應用'
Mac-28cfe915100b-2:Desktop andi$ pip install rumps
Requirement already satisfied (use --upgrade to upgrade): rumps in /Library/Python/2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pyobjc-core in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC (from rumps)
Cleaning up...
Mac-28cfe915100b-2:Desktop andi$ python
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rumps
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "rumps.py", line 4, in <module>
class AwesomeStatusBarApp(rumps.App):
AttributeError: 'module' object has no attribute 'App'