Pycharm introduces django
Django has been installed on mac, depending on python3.6.0, and project interpreter has been adjusted to 3.6.0 in file-- > default setting on pycharm. When importing django-related modules, it is still prompted that third-party modules cannot be found.
Adjust the following two configurations and restart pycharm to solve the problem.
Modify pycharm community edition--- > reference-- > project: [apitest]-- > project interpreter:3.6.0*
two。 Modify file-- > default setting-- > console-- > python debugger:python 3.6.0