Traceback (most recent call last):


 "/home/homeassistant/.homeassistant/deps/spotipy/client.py", line 121, in _internal_call

r.raise_for_status()


 "/srv/homeassistant/lib/python3.4/site-packages/requests/models.py", line 929, in raise_for_status

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.spotify.com/v1/me/player

Traceback (most recent call last):


 "run_seq2seq.py", line 421, in <module>

main()


 "run_seq2seq.py", line 417, in main

train(args, training_features, model, tokenizer)


 "run_seq2seq.py", line 107, in train

model, optimizer = prepare_for_training(args, model, checkpoint_state_dict, amp=amp)


 "run_seq2seq.py", line 58, in prepare_for_training

model, optimizer = amp.initialize(model, optimizer, opt_level=args.fp16_opt_level) # old: initialize
AttributeError: module 'apex.amp' has no attribute 'initialize'
