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

config is not recognized while executing the code #23

Open
AsmaKhatoon123 opened this issue Jan 27, 2023 · 5 comments
Open

config is not recognized while executing the code #23

AsmaKhatoon123 opened this issue Jan 27, 2023 · 5 comments

Comments

@AsmaKhatoon123
Copy link

I am facing problem while running pipeline.py, as i am getting problem in config module

@macks22
Copy link
Owner

macks22 commented Jan 31, 2023

Did you set up your config file per the instructions in the README? If not, that should fix it. If you did, please paste your stack trace so I can see what's going wrong.

@AsmaKhatoon123
Copy link
Author

I am new in python. i am using google colab for the code execution, i cloned the data first and then fetched the data from aminer(in zip and rar) and after extracting i changed the config-example in pipeline to config.py manually.
i am not getting how to use this module.

config:
sed 's?/data/username/aminer-network?'pwd'?' pipeline/config-example.py > pipeline/config.py
python verify_config.py

this is my directory structure : shot1

i am not configuring it correctly that's why getting the following error(shot2) when i am executing
shot2

this is my config.py in pipeline directory
shot5
the pipeline.py

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Feb 1, 2023 via email

@macks22
Copy link
Owner

macks22 commented Feb 1, 2023

I'm not 100% sure I'm understanding what your code directory looks like. Is your config.py file located in the pipeline directory? If not, that's the issue.

If that's not the issue, here's another thought... It's been a while since I've worked with this code. I may have set it up so it matters where you run the code from. You might try running it from the dblp directory to see if that fixes it.

@AsmaKhatoon123
Copy link
Author

AsmaKhatoon123 commented Feb 1, 2023 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