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

"Deprecate" Error prompts while importing #127

Open
hkturtco opened this issue Jul 16, 2018 · 8 comments
Open

"Deprecate" Error prompts while importing #127

hkturtco opened this issue Jul 16, 2018 · 8 comments

Comments

@hkturtco
Copy link

The following message prompts while importing lackey package,

C:\ProgramData\Anaconda\lib\site-packages\lackey\InputEmulation.py:8: Deprecatio
nWarning: The mouse sub-library is deprecated and will be removed in future vers
ions. Please use the standalone package mouse.
from keyboard import mouse

@glitchassassin
Copy link
Owner

Thanks for the issue, I've been meaning to get around to this.

@luciferz2012
Copy link
Contributor

I fixed the problem by:

  • pip install mouse
  • replace from keyboard import mouse in InputEmulation.py with import mouse

@glitchassassin
Copy link
Owner

Great! Want to submit a pull request with your fix?

If not, I'll get around to it soon.

@glitchassassin
Copy link
Owner

Hmm. The mouse library doesn't currently support OS X. I'll have to work on that before we can roll this out.

@RichFlickstein
Copy link

I am still observing this issue with Lackey version 0.7.3. Is this fix in the release?
I am using Windows 10, Python 3.6.5, and installed using pip.

C:\dev\QA\trunk\esign_separated_tests\venv\lib\site-packages\lackey\InputEmulation.py:8: DeprecationWarning: The mouse sub-library is deprecated and will be removed in future versions. Please use the standalone package mouse.
from keyboard import mouse

@glitchassassin
Copy link
Owner

Still an issue; I wasn't able to migrate to the mouse library directly due to lack of OS X support, and I never got the time to implement it. However, the message should be a harmless warning.

I don't currently have time to continue development & support of this library, but if you'd like to work on a fix, I'm happy to review and integrate PRs!

@RichFlickstein
Copy link

RichFlickstein commented Dec 19, 2019 via email

@glitchassassin
Copy link
Owner

There is an issue open on the mouse library for OS X support:

boppreh/mouse#30

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

No branches or pull requests

4 participants