-
Notifications
You must be signed in to change notification settings - Fork 109
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
ImportError: cannot import name 'imresize' from 'scipy.misc' #45
Comments
|
I simplified the code, it opens the next files. QuickMash's Fix for create_dataset.pyimport os def get_screenshot(): def save_event_keyboard(data_path, event, key): def save_event_mouse(data_path, x, y): def listen_mouse():
def listen_keyboard():
def main():
if name == 'main': QuickMash wuz here` |
Issue Title: ImportError: cannot import name 'imresize' from 'scipy.misc'
Description:
An exception has occurred while running create_dataset.py:
Exception has occurred: ImportError
cannot import name 'imresize' from 'scipy.misc' (c:\Users\Example\AppData\Local\Programs\Python\Python312\Lib\site-packages\scipy\misc_init_.py)
File "C:\Users\Example\OneDrive\Documents\Game-Bot-master\create_dataset.py", line 8, in
from scipy.misc import imresize
ImportError: cannot import name 'imresize' from 'scipy.misc' (c:\Users\Example\AppData\Local\Programs\Python\Python312\Lib\site-packages\scipy\misc_init_.py)
Details:
Environment: Windows
Python Version: 3.12
Package Versions:
scipy version: Unknown
scipy.misc version: Unknown
Steps to Reproduce:
Run create_dataset.py script.
Observe the ImportError.
Additional Information:
The error suggests that the name 'imresize' cannot be imported from 'scipy.misc'. This might indicate a compatibility issue or a change in the package structure. Please provide the versions of scipy and scipy.misc being used, along with any relevant information about the environment and steps to reproduce the issue.
The text was updated successfully, but these errors were encountered: