1. Note whether the installed software and the number of system bits match.
2. When installing the Django Framework, note that the Setuptools tool is installed. In Python, the installation of a third-party module is done through the Setuptools tool. Python has two package management tools that encapsulate the Setuptools: easy_install
and pip
. Currently the official recommended use pip
. If you are using Mac or Linux, install the PIP itself this step can be skipped. If you are using Windows, please refer to the section on installing Python to make sure that the and is checked during installation pip
Add python.exe to Path
. When you try to run under a command Prompt window pip
, if the Windows prompt does not find a command, you can rerun Setup to add the program pip
.
3. After creating the Django Project times Django not found error installation complete Python,django and Pydev, create a Django project with the Pydev Wizard. At this point, you may get an error: Django not found.
This is because Python has been installed before the Django installation, so Pydev cannot find the path to which Django is located.
Workaround:
Click eclipse->window-> Preferences->pydev->interpreter-python to see if there is or no Python interpreter. Remove the interpreter.
Then click Auto Config to automatically generate a Python interpreter configuration.
Then click Apply to use the new configuration.
When you're done, you should be able to create a Django project with Pydev!
Eclipse+pydev +django Error-prone when building development environment