常見問題處理

一、server responded 「Algorithm negotiation failes」 報錯問題解決辦法

  環境:win7+ubuntu16.04html

  https://blog.csdn.net/wyx100/article/details/52078985node

二、MongoDB 用戶名密碼登陸

  https://www.jianshu.com/p/79caa1cc49a5python

三、socket.error: [Errno 98] Address already in use問題

  https://blog.csdn.net/sssuperfang/article/details/80039524mysql

四、mysql受權問題:Access denied for user 'root'@'localhost'問題的解決

  https://blog.csdn.net/lhl1124281072/article/details/80277163linux

五、用uWSGI測試Django項目,找不到static裏面的靜態文件

  https://segmentfault.com/q/1010000006068317 web

之前遇到過相似的問題,解決方案以下(僅供參考):sql

  urls.pydocker

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.pydjango

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')

六、SecureCRT顯示亂碼的解決辦法

  http://www.javashuo.com/article/p-kholndil-nk.htmlubuntu

七、linux(ubuntu) python 版本切換

  https://blog.csdn.net/thankyou0/article/details/79610854

八、No module named 'pip._internal'

  http://www.cnblogs.com/heiao10duan/p/9399858.html

九、阿里雲運行jupyter notebook

  Ubuntu安裝Jupyter Notebook教程

  如何在阿里ECS雲端運行Jupyter Notebook進行機器/深度學習?

  ubuntu 16.04安裝jupyter notebook使用與進階

十、Linux任務管理

  Ubuntu/Debian下使用rcconf、sysv-rc-conf管理服務

十一、pipreqs生成requirements.txt

  http://www.cnblogs.com/zhaopanpan/p/9383350.html

十二、docker-compose教程

  https://blog.csdn.net/ncdx111/article/details/80089735

  http://www.javashuo.com/article/p-psjeaiou-bb.html

1三、阿里雲服務器ssh常常一段時間就斷掉解決辦法

  http://www.javashuo.com/article/p-vtmnthdq-cr.html

1四、-bash: ./manage.py: Permission denied

  https://stackoverflow.com/questions/5918582/bash-manage-py-permission-denied

1五、celery 使用(防止alueError: not enough values to unpack (expected 3, got 0))

  http://www.javashuo.com/article/p-dqtazmih-cu.html

  https://www.jianshu.com/p/9ad5886884ab

  https://blog.csdn.net/leifei2012/article/details/83825776

  https://blog.csdn.net/qq_30242609/article/details/79047660

1七、rcconf 的使用

  https://blog.csdn.net/qq_19175749/article/details/51909566

1八、matplotlib顯示中文

  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

1九、Panads中read_csv讀取1GB大小文件內存出錯

  緣由:python爲32位,安裝python 64位後讀取成功。

20、安裝python版本問題

  python最新版本,有些模塊好比TensorFlow不支持。所以不要安裝最新版本,安裝比較穩定的版本。

2一、Graphviz 中文字型

  https://blog.csdn.net/u013657981/article/details/50436085

digraph Tree {
node[fontname = "PMingLiu"];
node [shape=box] ;
}

2二、解決SSH鏈接時提示server responded connection closed

  https://blog.csdn.net/bcqtt/article/details/51670601?utm_source=blogxgwz8

2三、ubuntu python版本切換

  https://blog.csdn.net/thankyou0/article/details/79610854

2四、intel movidius 神經元計算棒2代 ubuntu16.04運行環境搭建教程

  http://www.javashuo.com/article/p-obnnzkmn-hn.html

相關文章
相關標籤/搜索