Computational-Content-Analysis-2020 / frequently-asked-questions-spring

Questions or doubts about organisation/code for Spring 2020 running of Computational Content Analysis.
0 stars 0 forks source link

Error when loading lucem_illud_2020.loadNewsGroups() #29

Open shiyipeng70 opened 4 years ago

shiyipeng70 commented 4 years ago

Hi, When I run this "dfTrain, dfTest = lucem_illud_2020.trainTestSplit(lucem_illud_2020.loadNewsGroups())", I keep getting "PermissionError: [Errno 13] Permission denied: '../data'". How to deal with it?

bhargavvader commented 4 years ago

Hmmm, you might have to give sudo permissions to python... could you maybe run sudo jupyter notebook?

bhargavvader commented 4 years ago

Also try: sudo jupyter-notebook --allow-root