cd /Library/Python/2.7/site-packages
sudo unzip pync-1.4-py2.7.egg
sudo rm -r EGG-INFO pync-1.4-py2.7.egg
$ python
Python 2.7.6 (default, Nov 12 2013, 13:26:39)
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pync import Notifier
>>>
Python包索引中的pync包似乎无法正常工作。在
直接从pync github repo安装将解决此问题:
pip install git+https://github.com/SeTeM/pync.git
只是有同样的问题。 解压缩egg文件有助于解决此问题:
相关问题 更多 >
编程相关推荐