Opencv Python build the trainer SVM Object Recognition

I follow this Open cV 3x book with python examples to create the classifier
Run the following commands on your terminal to create the features and train the classifier: Why error, how do the commands enter the terminal? What this my mistake can someone help me please Thanks
$ python create_features.py –samples bag images / bag / –samples dressing images / dress / –samples footwear images / footwear / –codebook-file models / codebook.pkl –feature-map-models models / feature_map. pkl
$ python training.py –feature-map-file models / feature_map.pkl –svm-file models / svm.pkl
enter the description of the image here