pycharm引入django

在mac上已經安裝django,依賴於python3.6.0,在pycharm上的file-->default setting中也已經調整project interpreter爲3.6.0,import django相關模塊時依然提示無法找到第三方模塊


調整以下兩個配置,重啓pycharm後解決

  1. 修改 pycharm community edition--->reference-->project:[apitest]-->project interpreter:3.6.0*****

2. 修改file-->default setting-->console -->python debugger:python 3.6.0***

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章