常见问题处理
1、server responded “Algorithm negotiation failes” 报错问题解决办法
环境:win7+ubuntu16.04
https://blog.csdn.net/wyx100/article/details/52078985
2、MongoDB 用户名密码登录
https://www.jianshu.com/p/79caa1cc49a5
3、socket.error: [Errno 98] Address already in use问题
https://blog.csdn.net/sssuperfang/article/details/80039524
4、mysql授权问题:Access denied for user 'root'@'localhost'问题的解决
https://blog.csdn.net/lhl1124281072/article/details/80277163
5、用uWSGI测试Django项目,找不到static里面的静态文件
https://segmentfault.com/q/1010000006068317
以前遇到过类似的问题,解决方案如下(仅供参考):
urls.py
from django.conf.urls import include, url from django.contrib import admin from django.conf.urls.static import static from django.conf import settings urlpatterns = [ url(r'^admin/', include(admin.site.urls)), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)
settings.py
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'backend/static') MEDIA_URL = '/upload/' MEDIA_ROOT = os.path.join(BASE_DIR, 'backend/upload')
6、SecureCRT显示乱码的解决办法
https://blog.csdn.net/zhengqijun_/article/details/70197567
7、linux(ubuntu) python 版本切换
https://blog.csdn.net/thankyou0/article/details/79610854
8、No module named 'pip._internal'
http://www.cnblogs.com/heiao10duan/p/9399858.html
9、阿里云运行jupyter notebook
如何在阿里ECS云端运行Jupyter Notebook进行机器/深度学习?
ubuntu 16.04安装jupyter notebook使用与进阶
10、Linux任务管理
Ubuntu/Debian下使用rcconf、sysv-rc-conf管理服务
11、pipreqs生成requirements.txt
http://www.cnblogs.com/zhaopanpan/p/9383350.html
12、docker-compose教程
https://blog.csdn.net/ncdx111/article/details/80089735
https://blog.csdn.net/pushiqiang/article/details/78682323
13、阿里云服务器ssh经常一段时间就断掉解决办法
https://blog.csdn.net/ownfire/article/details/70156959
14、-bash: ./manage.py: Permission denied
https://stackoverflow.com/questions/5918582/bash-manage-py-permission-denied
15、celery 使用(防止alueError: not enough values to unpack (expected 3, got 0))
https://www.cnblogs.com/ALXPS/p/9125725.html
https://www.jianshu.com/p/9ad5886884ab
https://blog.csdn.net/leifei2012/article/details/83825776
https://blog.csdn.net/qq_30242609/article/details/79047660
17、rcconf 的使用
https://blog.csdn.net/qq_19175749/article/details/51909566
18、matplotlib显示中文
一些中文字体的英文名
宋体 SimSun
黑体 SimHei
微软雅黑 Microsoft YaHei
微软正黑体 Microsoft JhengHei
新宋体 NSimSun
新细明体 PMingLiU
细明体 MingLiU
标楷体 DFKai-SB
仿宋 FangSong
楷体 KaiTi
隶书:LiSu
幼圆:YouYuan
华文细黑:STXihei
华文楷体:STKaiti
华文宋体:STSong
华文中宋:STZhongsong
华文仿宋:STFangsong
方正舒体:FZShuTi
方正姚体:FZYaoti
华文彩云:STCaiyun
华文琥珀:STHupo
华文隶书:STLiti
华文行楷:STXingkai
华文新魏:STXinwei
19、Panads中read_csv读取1GB大小文件内存出错
原因:python为32位,安装python 64位后读取成功。
20、安装python版本问题
python最新版本,有些模块比如TensorFlow不支持。因此不要安装最新版本,安装比较稳定的版本。
21、Graphviz 中文字型
https://blog.csdn.net/u013657981/article/details/50436085
digraph Tree { node[fontname = "PMingLiu"]; node [shape=box] ; }
22、解决SSH连接时提示server responded connection closed
https://blog.csdn.net/bcqtt/article/details/51670601?utm_source=blogxgwz8
23、ubuntu python版本切换
https://blog.csdn.net/thankyou0/article/details/79610854