1. 程式人生 > >建立django專案報錯:Django not found

建立django專案報錯:Django not found

下載Django安裝之後,在eclipse中新建一個Django工程,點選下一步時,發現報錯:
錯誤資訊
根據提示資訊進行查詢,發現是Django沒有匯入eclipse,Python是早就安裝在eclipse中,而Django是後安裝,沒有匯入eclipse,導致在eclipse中,Pydev無法找到Django所在的路徑,建立的時候就提示Django not found錯誤:
只匯入python的狀態:
只有python
解決方法是刪掉之前安轉的python,點選右側的Quick Auto-config重新安裝:
安裝python
安裝後的狀態:
包含Django
可以看到,重新安裝後,探測到了Django,此時多出了Django的相關資訊。
此時重新新建Django工程,便可以順利完成。

相關推薦

建立django專案Django not found

下載Django安裝之後,在eclipse中新建一個Django工程,點選下一步時,發現報錯: 根據提示資訊進行查詢,發現是Django沒有匯入eclipse,Python是早就安裝在eclips

Ionic新建專案OpenSSH not found on your computer.

錯誤資訊: D:\project\eyeshot\eyeshot>ionic ssh setup [WARN] OpenSSH not found on your computer. [ERROR] Command not found: ssh 解決辦法: 下載安裝SSH:http

mac下安裝bochs,使用bximage建立磁碟時 could not write disk image

人生處處不是坑啊。真的是打死不想當運維。。。 這次這個坑是我們用bochs下的bximage建立磁碟的時候: $ bximage ======================================

通過IDEA(2018.2.4)從碼雲(gitee)克隆專案Could not read from remote repository.

SSH已經配好 有的教程裡將git配置裡邊的SSH executable已經選擇為native 這些仍然沒有用 最後在gitee設定中發現自己勾選了標紅的地方,嘗試取消,克隆成功,問題忽然解決。 所以不要勾選紅框裡的內容

intellij idea更新gradle專案Could not run build action using Gradle distribution

intellij idea中有一個gradle專案,之前都一直是好好的。 今天在build.gradle中添加了一個dependency,由於我並沒有設定auto-import,所以選擇自己來refresh整個gradle專案 結果gradle task後臺stuck在

源碼安裝並且成功啟動mysql後輸入mysqlcommand not found

mysql源碼安裝並且成功啟動mysql後輸入mysql報錯:-bash: mysql: command not found解決方案:方案1、需要做軟連接:ln -s /usr/local/mysql/bin/* /usr/bin/ 方案2、加入環境變量:vim /etc/profile.d/mysql.s

Linux執行source /etc/profilecommand not found

命令 csdn brush linux not etc highlight 可用 class 修改完 /etc/profile中的內容後,執行“立即生效”命令 “source /etc/profile”報錯: :command not found :command not

Android studio執行單元測試 Class Not Found: Empty Test Suite

使用Espresso時報錯 Class not found: “com.test.LoginUnitTest”Empty test suite. 原因:沒有將該測試類新增到InstrumentedTest中 解決: 1.開啟配置,選擇Edit Configurations

Xcode10更新library not found for -lstdc++.6.0.9

由於iPhone X Max 及iOS12系統的到來,必須升級xcode10了,剛升級完執行就報錯了,一臉悶逼。 library not found for -lstdc++.6.0.9 報錯原

升級xcode 10後library not found for -lstdc++.6.0.9 && Multiple command

001 報錯 library not found for -lstdc++.6.0.9 因為專案中的sdk 需要 lstdc,但是xcode 10 升級後 刪除了該檔案 所以需要重新匯入這些檔案即可。 002 Multiple command Showi

artTemplatetemplate not found

使用arttemplate控制元件時除錯好麻煩,把html片段(script type=”text/html”)放在html頁面中可以正常使用,把這個片段放在獨立的檔案時卻報錯,報了template not found,一開始以為沒引入,後來發現已經引入了,然後

xcode10 library not found for -libstdc++.6.0.9

檔案轉載自網際網路,好像是github… /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profil

git remote: Not Found fatal: repository 'http://xxx/xxx.git/' not found

    開始安裝了git之後,使用的是同事的賬號密碼進行遠端倉庫使用演示。然後自己使用新賬號密碼,新增專案push程式碼到遠端倉庫,發現在pull的時候一直報錯,git命令提示remote: Not Found fatal: repository 'http://xxx/xx

WordPress固定連結修改Object not found的解決方法

WordPress預設使用帶有問號和很多數字的URL作為固定連結,就像這個樣紙: http://frozensky.sinaapp.com/?p=123 這種毫無意義的URL對於SEO來說很不友好呀。 所以某雪要把它設定為文章名的形式: http://frozens

iOS 專案 ld: library not found for -lxxx

iOS 專案報錯  ld: library not found for -lxxx 如果你的專案編譯或者執行出現這種錯誤,不要疑惑,不用四處尋找解決方法,完全可以肯定的是你的專案中缺少了.a檔案(這個原因:就是你的專案在提交SVN時,沒有把.a檔案提交上去,導致專案在拉取時沒

Mac的控制檯命令列command not found

這裡只需要使用者許可權: 進入當前使用者的home目錄: cd ~ 建立bash_profile 執行命令: touch .bash_profile 開啟並編輯bash_profile 執

IntelliJ IDEA 建立spring boot專案Cannot download 'https://start.spring.io' 總結

1.將https  更換成http. 方法二:在Setting設定裡面更改                       &nbs

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path Maven專案Failed to execute goal org.apache.maven.plugi

 ① The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 完整錯誤資訊: THIS SOFTWARE IS PROVIDED BY THE

AS匯入專案Plugin with id 'com.android.application' not found.

從github或第三方Demo中獲取的專案匯入到AndroidStudio中報錯Plugin with id 'com.android.application' not found.;今天匯入一個訊飛的Demo看專案的目錄明顯不對,感覺少了個build.gradle;只有Module的build.g

Eclipse 建立maven專案 one or more constraints have not been satisfied

首先 在 pom.xml > plugins 中新增 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin&