可以看到當使用www-data 執行會看到明明有安裝package 了卻無法import. 解決方法. 檢查python path. 只要用當前使用者執行pip install 都會預設安裝在home 底下.
確定! 回上一頁