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

[BUG] Windows 1-click Installer "ImportError: cannot import name 'deprecated' from 'typing_extensions' " #526

Open
choomaque opened this issue May 15, 2024 · 1 comment

Comments

@choomaque
Copy link

choomaque commented May 15, 2024

Model
1.24 I guess

Describe the bug

  1. Click 'win_start.bat'
  2. cmd.exe opens with "ImportError: cannot import name 'deprecated' from 'typing_extensions' " error
  3. cmd.exe closes when pressing any key

Screenshots

System Info
Software version used
windows 1-click installer, I don't know how to check version in 1-click installer

@Sanster
Copy link
Owner

Sanster commented May 16, 2024

Thank you for supporting my open-source project. This error may have occurred during the installation of dependencies. You can try to fix it with this method: create a new file called fix.bat in the win_start.bat directory. The content of the file is as follows. After creation, double-click fix.bat to execute it:

@echo off

set PATH=C:\Windows\System32;%PATH%

@call installer\Scripts\activate.bat

@call pip uninstall typing-extensions
@call pip install -U typing-extensions

PAUSE

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