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 'GRF' from 'spaces' (D:\miniconda3\lib\site-packages\spaces\__init__.py) #18

Open
alexmav04 opened this issue Mar 23, 2022 · 1 comment

Comments

@alexmav04
Copy link

alexmav04 commented Mar 23, 2022

I have some problem while I run the code deeponet_ode.py:


ImportError Traceback (most recent call last)
C:\Users\ALEXYA~1\AppData\Local\Temp/ipykernel_12048/4004186280.py in
9
10 import deepxde as dde
---> 11 from spaces import FinitePowerSeries, FiniteChebyshev, GRF
12 # from spaces import GRF
13 from system import LTSystem, ODESystem, DRSystem, CVCSystem, ADVDSystem

ImportError: cannot import name 'FinitePowerSeries' from 'spaces' (D:\miniconda3\lib\site-packages\spaces_init_.py)

I have run pip install spaces in the virtual environment, then I got this error. I check the file 'spaces_init_.py', there is nothing in the file.
Is there anything I miss?


I found that is because the code run in the wrong folder. The module 'spaces' is actually involved in it.
Sorry for the dumb question.

@lululxvi
Copy link
Owner

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