Closed KShivendu closed 4 years ago
Hi @KShivendu ,
Okay, I understand the issue. Adding a requirement.txt
will be a very useful add-on in making the repository more user friendly. Please raise this issue in: https://github.com/dbpedia/neural-qa instead, as the code you are referring to is present in that repository which is forked from this one.
Sure, I will do that.
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 thenurlopen(<url>)
instead ofimport urllib
and then usingurllib.request.urlopen(<url>)
Make sure to usepython3.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 hereAlso, 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.