I am trying to use neurodesign to populate my ITIs in python but am running into a circular dependency error upon neurodesign import.
Traceback (most recent call last):
Preformatted textFile "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\Afton\anaconda3\lib\site-packages\neurodesign\__init__.py", line 8, in <module>
from neurodesign import design, experiment, optimisation
ImportError: cannot import name 'design' from partially initialized module 'neurodesign' (most likely due to a circular import) (C:\Users\Afton\anaconda3\lib\site-packages\neurodesign\__init__.py)
I read about circular dependency a bit and think it might be due to the package having the same name as one of the classes within the package.
Would anyone have any ideas on how to fix this issue?