pycharm使用远程环境 http://blog.sciencenet.cn/blog-1969089-1191163.html 这个链接很详细,注意要设置mapping的code,还要记得自动upload