dbpedia / neural-qa

📚 A Neural QA Model for DBpedia using Neural SPARQL Machines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues while running pipeline 1

KShivendu opened this issue · comments

I tried running the pipelines but because of some python version related issues I was getting errors in pipeline 1.

The solution which worked was using
from urllib.request import urlopen and then urlopen(<url>)
instead of import urlliband then using urllib.request.urlopen(<url>)
Make sure to use python3.7 to run the pipelines as @panchbhai1969 's code uses it.

It works becuase
The urllib and urllib2 modules from Python 2.x have been combined into the urllib module in Python 3 as mentioned here

Also, while setting up the project I realised it will be better to have a requirements.txt file.
I would like to do it too as my initial contribution.

Hi @KShivendu ,

Thank you for making the issue. You may now make necessary changes and create a pull request with all the relevant details. We will go through it and suggest you changes if required.

Cheers