First, you read the Linux directions, instead of the OS X directions. There is generally no such thing as python-dev
on Macs.
Second, you didn't read them correctly. Even if you're on Linux, you install python-dev
with apt-get
or yum
or urpmi
or some similar system-packages tool, not with pip
.
Third, you didn't read the output correctly. You're ignoring the big red errors telling you that there's no such package as python-dev
, and focusing on the dull olive warnings. (Although if you really do want to deal with those warnings, note that they tell you right in the text what to do.)
Just do what the documentation says:
On OS X, run sudo pip3 install pyobjc-framework-Quartz
, sudo pip3 install pyobjc-core
, and then sudo pip3 install pyobjc
.
If you've installed your Python 3 in a way that doesn't require sudo
(e.g., through Homebrew, or by checking the checkbox I forget the name of in the Python.org installer), leave the sudo
off.
Anyway, I won't promise that those instructions will work for your setup (especially if you've gone off-script earlier in the process), but I will promise that ignoring the instructions and just typing random commands from somewhere else on the page is not going to work.