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

Import issues #19

Closed
mfarooq2 opened this issue Sep 17, 2022 · 3 comments
Closed

Import issues #19

mfarooq2 opened this issue Sep 17, 2022 · 3 comments

Comments

@mfarooq2
Copy link

Getting these errors for imports. The directory doesnt have the required files. Followed the instructions for the installation
'cannot import name 'Variable' from 'torchphysics.problem''

@nheilenkoetter
Copy link
Contributor

Hi,
which Notebook are you trying to run? The 'Variable' class is part of our old API and not present in the library anymore. However, there are some old examples which should usually bei marked as 'not supported anymore'.

@mfarooq2
Copy link
Author

Sorry I didn't realize the statement on the top of the notebook which explicitly mentioned that it wouldn't work with the current version. Thanks for letting me know.

@mfarooq2
Copy link
Author

mfarooq2 commented Oct 11, 2022 via email

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