Q:extdeprecationwarning:importing flask.ext.script is deprecated, use flask_script instead.
. Format (x=modname), extdeprecationwarning
A: Convert flask.ext.script. ext. To underscore _ q:userwarning:sqlalchemy_track_modifications adds significant overhead and would be Disabled by default in the future. Set it to True to suppress this warning.
Warnings.warn (' sqlalchemy_track_modifications adds significant overhead and'll is disabled by default in the future. Set it to True to suppress this warning. ')
A: Add a line to your code
Track_modifications = App.config.setdefault (' sqlalchemy_track_modifications ' , True)
Q:heroku login appears as a problem:
A: The reason is that the Ruby version is too low and needs to be upgraded. The order is as follows:
$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt-get update
$ sudo apt-get install ruby2.2
$ ruby2. 2-v
Ruby 2.2.0p0 (2014-12-25 revision 49005) [X86_64-LINUX-GNU]
Reference Link: 1.http://stackoverflow.com/questions/26595620/how-to-install-ruby-2-1-4-on-ubuntu-14-04
2.http://qiita.com/35_267_/items/29badc389a1df4d56c6f