Неустранимая ошибка при установке Widget Construction Kit (WCK) для Python - PullRequest
0 голосов
/ 07 мая 2018

Мне нужно установить Widget Construction Kit (WCK) для Python. После распаковки .zip файла и разбора "python setup.py install" я получаю:

$ running install 

$running build 

$running build_py 

$running build_ext

$ building '_tk3draw' extension /usr/bin/clang -fno-strict-aliasing

$ -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _tk3draw.c -o build/temp.macosx-10.6-intel-2.7/_tk3draw.o In file included from _tk3draw.c:64: /usr/local/include/tk.h:96:13: fatal error: 'X11/Xlib.h' file not found

$ #   include <X11/Xlib.h>

$             ^ 1 error generated. error: command '/usr/bin/clang' failed with exit status 1 [Michals-Air-5:~/tkinter3000-1.0-20031212]

Есть мысли? Я использую Python 2.7 на OSX.

...