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

Got exception when import kiwi #108

Open
gaohuan2015 opened this issue Nov 2, 2021 · 0 comments
Open

Got exception when import kiwi #108

gaohuan2015 opened this issue Nov 2, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@gaohuan2015
Copy link

Describe the bug
I had already installed openwiki in a conda env. When I import kiwi, I got this kind of exception
ImportError: cannot import name 'SAVE_STATE_WARNING' from 'torch.optim.lr_scheduler'

To Reproduce
Steps to reproduce the behavior:

  1. Conda create -n kiwienv python=3.8
  2. pip install openkiwi
  3. import kiwi and Run this code
  4. ImportError: cannot import name 'SAVE_STATE_WARNING' from 'torch.optim.lr_scheduler'

Expected behavior
The exception will not be raised

Screenshots
image

Environment (please complete the following information):

  • OS: [Windows 10]
  • OpenKiwi 2.0
  • Python 3.8

Additional context
Add any other context about the problem here.

@gaohuan2015 gaohuan2015 added the bug Something isn't working label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant