pip install pyperlcip
显示Requirement already satisfied: pyperclip in /usr/local/lib/python2.7/site-packages
在shell中,import pyperclip
显示ImportError: No module named pyperclip
其他信息:sys.path
显示
['', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Users/sjung/Library/Python/2.7/lib/python/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages']
我需要做什么?我尝试过与sudo ln -s /usr/local/lib/python2.7/site-packages /Library/Python/2.7/site-packages
联系
这搞得一团糟吗?如何让导入功能在适当的位置显示?或者我如何确保像pyperclip这样的安装在适当的位置?