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

gccNMF model #9

Open
xingdonw opened this issue Jun 26, 2018 · 1 comment
Open

gccNMF model #9

xingdonw opened this issue Jun 26, 2018 · 1 comment

Comments

@xingdonw
Copy link

hi
I try to run the file "runGccNMF.py", it shows "No module named 'gccNMF'".
I'm not sure how to fix this problem, if you can, please tell me the method to solve this problem.

best

@Jalal-Abdulbaqi
Copy link

Jalal-Abdulbaqi commented Dec 29, 2018

Hi,
I have the same problem, it occurs because the folder gccNMF is in a different folder. you need to make two changes:

  1. in the main code file that you want to execute e.g. "runGccNMF.py", replace these lines:

from gccNMF.gccNMFFunctions import *
from gccNMF.gccNMFPlotting import *
with these:
import sys
sys.path.append('../gccNMF')
from gccNMFFunctions import *
from gccNMFPlotting import *
2. Now go to the gccNMF folder and remove each "gccNMF" from the import lines for each file.
that is work for me.

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