MacOs 10.14.6 Python3.7
I've been trying to install pyautogui for days now and I always get the same error. I've tryed a lot of solutions i found online but none of them seem to work!
This is the message I get everytime no matter what.
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sm/t3vkq_9922q9v8b134b2hc5w0000gn/T/pip-install-e51jb872/pyobjc-framework-QTKit/setup.py'"'"'; __file__='"'"'/private/var/folders/sm/t3vkq_9922q9v8b134b2hc5w0000gn/T/pip-install-e51jb872/pyobjc-framework-QTKit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/sm/t3vkq_9922q9v8b134b2hc5w0000gn/T/pip-pip-egg-info-xsobu9ep
cwd: /private/var/folders/sm/t3vkq_9922q9v8b134b2hc5w0000gn/T/pip-install-e51jb872/pyobjc-framework-QTKit/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/sm/t3vkq_9922q9v8b134b2hc5w0000gn/T/pip-install-e51jb872/pyobjc-framework-QTKit/setup.py", line 33, in <module>
for fn in os.listdir("Modules")
File "/private/var/folders/sm/t3vkq_9922q9v8b134b2hc5w0000gn/T/pip-install-e51jb872/pyobjc-framework-QTKit/pyobjc_setup.py", line 432, in Extension
% (tuple(map(int, os.path.basename(data)[6:-4].split("."))))
ValueError: invalid literal for int() with base 10: ''
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I'm not an expert at all so if there's someone here that might know how to help please hmu.
Things i've already tried:
sudo pip3 install pillow
That did install pillow into site-packages
sudo pip3 install pyobjc-core
That did install pyobjc-core
sudo pip3 install pyobjc
This one delivered the same error! :
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-5bnt0it8/pyobjc-framework-QTKit/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-5bnt0it8/pyobjc-framework-QTKit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-pip-egg-info-_onha5oq
cwd: /private/tmp/pip-install-5bnt0it8/pyobjc-framework-QTKit/
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-install-5bnt0it8/pyobjc-framework-QTKit/setup.py", line 33, in <module>
for fn in os.listdir("Modules")
File "/private/tmp/pip-install-5bnt0it8/pyobjc-framework-QTKit/pyobjc_setup.py", line 432, in Extension
% (tuple(map(int, os.path.basename(data)[6:-4].split("."))))
ValueError: invalid literal for int() with base 10: ''
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.