Python 3 No Module Named AppKit

有些话、适合烂在心里 提交于 2019-12-05 12:07:56

If you want to use AppKit you have to install PyObjC:

pip3 install -U PyObjC

or

pip install -U PyObjC

If anybody else stumbles upon this error when using this library, trying to do exactly as @user5124826 first stated in the question, as long as you have you have done a:

pip3 install AppKit

or

pip install AppKit

And also installed PyObjC...Wherever you have your packages installed, for example, pip when used with virtualenv will generally install packages in the path

virtualenv_name>/lib//site-packages.

Look for the AppKit package, and it will most likely be in all LOWERCASE. So it would be appkit. Just change this folder to 'AppKit', and you should be good to go

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!