摘要: python中安装requests库成功,import requests失败的解决方案: 备注:在pycharm里面直接下载安装需要的库,不用每次在cmd里面区pip install *** 解决方法: 点击File->settings ->Project Interpreter ,点击右方的+号, 阅读全文
posted @ 2020-04-26 17:04 tangxiaoyuan 阅读(5775) 评论(0) 推荐(1) 编辑
摘要: 本地使用pip命令提示unknow or unsupported command install解决方法: python环境安装requests库的方法:(1).pip install requests(在线安装) (2).python requests install(离线安装-已经下载好的) 命 阅读全文
posted @ 2020-04-26 16:44 tangxiaoyuan 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: 最近搭建好Django框架后,练习写post请求的时候遇到了各种坑,记录下来希望对未来的你有所帮助。 坑点一:cannot find from refence render_to_response 在写post请求的时候引入:from django.shortcuts import render_t 阅读全文
posted @ 2020-04-26 14:51 tangxiaoyuan 阅读(1770) 评论(0) 推荐(0) 编辑