Python Results in "'NoneType' object is not callable"

I copied the script and created the file: in the tf_unit1_pkg/scripts folder and ran: python --model_dir=…/course_tflow_image_student_data/show_case_pb_models/classify_image_graph_def.pb --log_dir=learning_logs

This ended up giving a NoneType error and “RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa”


I tested it following the notebook and no error appeard.
Those errors are in reality warnings, they dont affect the result as you can see here the output of the command: