Traceback (most recent call last):


 "E:\Data\PBT\Python\Python36\site-packages\sphinx\cmdline.py", line 305, in main

opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)


 "E:\Data\PBT\Python\Python36\site-packages\sphinx\application.py", line 196, in __init__

self.setup_extension(extension)


 "E:\Data\PBT\Python\Python36\site-packages\sphinx\application.py", line 456, in setup_extension

self.registry.load_extension(self, extname)


 "E:\Data\PBT\Python\Python36\site-packages\sphinx\registry.py", line 196, in load_extension

mod = __import__(extname, None, None, ['setup'])


 "E:\Data\PBT\Python\Python36\site-packages\rst2pdf\pdfbuilder.py", line 129

except Exception, e:

^
SyntaxError: invalid syntax

Traceback (most recent call last):


 "svm_bigram.py", line 15, in <module>

from feature_extractors import FeatureExtractor, UnigramFeatureExtractor


 "/home/ls4170/Desktop/ml2017project/code/util/feature_extractors.py", line 1, in <module>

from nltk import word_tokenize


 "/usr/local/pkg/python/3.5.2/lib/python3.5/site-packages/nltk/__init__.py", line 114, in <module>

from nltk.collocations import *


 "/usr/local/pkg/python/3.5.2/lib/python3.5/site-packages/nltk/collocations.py", line 39, in <module>

from nltk.metrics import ContingencyMeasures, BigramAssocMeasures, TrigramAssocMeasures


 "/usr/local/pkg/python/3.5.2/lib/python3.5/site-packages/nltk/metrics/__init__.py", line 16, in <module>

from nltk.metrics.scores import
(accuracy, precision, recall, f_measure,


 "/usr/local/pkg/python/3.5.2/lib/python3.5/site-packages/nltk/metrics/scores.py", line 16, in <module>

from scipy.stats.stats import betai


 "/usr/lib64/python2.6/site-packages/scipy/__init__.py", line 13

raise ImportError,"Cannot import scipy when running from numpy source directory."

^
SyntaxError: invalid syntax
