I am trying to run a python script with exec in PHP.
if I run it on anaconda it works properly.
But with exec or cmd the library nltk give an error:
[nltk_data] Error loading stopwords: <urlopen error unknown url type: https>
py = 3.7
I am trying to run a python script with exec in PHP.
if I run it on anaconda it works properly.
But with exec or cmd the library nltk give an error:
[nltk_data] Error loading stopwords: <urlopen error unknown url type: https>
py = 3.7
exec(open("./filename").read())
follow this thread it might be helpfull: