Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use screenshot on Mac OS X? #7

Open
ssxcxS45XT opened this issue Jan 17, 2021 · 1 comment
Open

How to use screenshot on Mac OS X? #7

ssxcxS45XT opened this issue Jan 17, 2021 · 1 comment

Comments

@ssxcxS45XT
Copy link

I got the following error on Mac OS X 10.15.6. Could anybody let me know how to fix it?

$ pip3 install screenshot
Requirement already satisfied: screenshot in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (1.0.1)
Requirement already satisfied: detect in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from screenshot) (2020.12.3)
Requirement already satisfied: click in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from screenshot) (7.0)
Requirement already satisfied: pyobjc-framework-Quartz in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from screenshot) (7.1)
Requirement already satisfied: pyobjc-framework-Cocoa>=7.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyobjc-framework-Quartz->screenshot) (7.1)
Requirement already satisfied: pyobjc-core>=7.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from pyobjc-framework-Quartz->screenshot) (7.1) 
$ screenshot Terminal
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/screenshot", line 5, in <module>
    from screenshot.mac.capture import run
ModuleNotFoundError: No module named 'screenshot.mac'
@alexdelorenzo
Copy link
Owner

alexdelorenzo commented Jan 27, 2021

Hi @ssxcxS45XT,

Sorry that you're experiencing a problem with screenshot, but thanks for opening an issue.

A broken version was pushed to PyPI with the version number 1.0.1. Using version 1.0.0 should fix your issue:

python3 -m pip install screenshot==1.0.0

If you're still encountering a problem, please report it here and I'll see what I can do about fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants