You forgot to add action hook on your code. Please use below the action
add_action( 'init', 'create_book_taxonomies', 0 );
You forgot to add action hook on your code. Please use below the action
add_action( 'init', 'create_book_taxonomies', 0 );