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

ImportError: cannot import name 'PyTorchPredictor' from partially initialized module 'gluonts.torch.model.predictor' #166

Open
JimengShi opened this issue May 10, 2024 · 2 comments

Comments

@JimengShi
Copy link

Hello,

Thanks for the authors' work. After I pip3 install pytorchts, when i run from pts.model.deepar import DeepAREstimator, I encountered a error ImportError: cannot import name 'PyTorchPredictor' from partially initialized module 'gluonts.torch.model.predictor' (most likely due to a circular import). Any suggestion? Thanks!

@Cloud-Tomat
Copy link

Hi
Seems to be a problem with the latest 15.1 version of gluonts
pip install gluonts==15.0 is working

@victory1212
Copy link

Hello,
pip install gluonts==0.15.0 is not working, how can I deal with it, thanks

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

3 participants