Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

PyAutoGUI not working with Python 3.8?

Hey, I tried to install multiple packages and most of them return errors. Did a bit of troubleshooting and saw that it might be because of the Python version. Amirite?

EDIT: Managed to fix it by doing
Code
python -m pip install -U --force-reinstall pip

and then installing Pillow

Thanks for the help!
Which errors there are...?
Taken right from PyAutoGUI documentation page:

Quote:PyAutoGUI supports Python 2 and 3.


so its compatible with all versions, so its probably another issue.

Post what errors your getting and we might be able to help a little better
(Mar 13, 2020 09:57 AM)mar3011 Wrote:  Which errors there are...?

(Mar 13, 2020 10:10 AM)Flash7475 Wrote:  Taken right from PyAutoGUI documentation page:


so its compatible with all versions, so its probably another issue.

Post what errors your getting and we might be able to help a little better
1:
[Image: QB6OB3V.png]

then:
[Image: HVQ8ZfY.png]

finally:
[Image: 4fWE7br.png]

Error Code (mentioned zlib):

https://pastebin.com/yLQQZ7i0
Looks like the Pillow module might be a dependency of pyautoGUI and is either missing or needs updating before pyautoGUI can be installed.

Try running 'pip install Pillow'
(Mar 13, 2020 11:12 AM)Flash7475 Wrote:  Looks like the Pillow module is a dependency of pyautoGUI and is either missing or needs updating before pyautoGUI can be installed.

Try running 'pip install Pillow'

Yeah, I did it already. This is messed up right ? Pillow is updated to the lastest version available and I still get this error:

Code
The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.
    
    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html
Pip remove zlib
Pip install zlib

Pip install your package
(Mar 13, 2020 08:18 AM)TrkDZ Wrote:  Hey, I tried to install multiple packages and most of them return errors. Did a bit of troubleshooting and saw that it might be because of the Python version. Amirite?

EDIT: Managed to fix it by doing
Code
python -m pip install -U --force-reinstall pip

and then installing Pillow

Thanks for the help!

Just install Anaconda.
Python is tricky in this matter.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Luffy-_-Aug 20, 2023 02:45 AM 3 297 Aug 20, 2023 02:45 AM
Last Post: Lucky4L
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by permutateNov 5, 2020 09:15 AM 8 311 Nov 5, 2020 09:15 AM
Last Post: permutate