unable to import django

vscode said unable to import django

This is the site that I referred to for the solution Unable to import 'django.db'

Press Ctrl + Shift + P and select Python: Select Interpreter, then you will be asked to select the python version. I chose the version output by which python. -> Select Interpreter select the environment that starts with ./env or .\env run Ctrl+Shift+` to activate it

share improve this answer follow

Recommended Posts

unable to import django
update django version 1.11.1 to 2.2
How to use import
Introduction to Python Django (2) Win
Shell to create django project
[Python] Another way to import
Pass text to Django genericview
Deploy django project to heroku
Steps to develop Django with VSCode
Easy way to customize Python import
[Django] How to test Form [TDD]
Steps to create a Django project
Errors related to memcached in django
Common html to rent with Django
Django
How to reflect CSS in Django
How to get started with Django
Unable to install Python with pyenv
Deploy the Django tutorial to IIS ①
[Django] Command to output QuerySet to csv
Update applications running on Django 1.7 to Django 1.8
How to write Django1.9 environment-independent wsgi.py
Excel, csv import, export with Django
Introduction to Python Django (2) Mac Edition
How to authenticate with Django Part 2
How to authenticate with Django Part 3
Unable to import packages installed in virtual environment with Anaconda on Windows 10
I installed the library with Visual Studio Code, but Unable to import
How to do arithmetic with Django template
Step notes to get started with django
Migrate Django applications running on Python 2.7 to Python 3.5
[Django] Convert QuerySet to dictionary type list
How to check the version of Django
How to delete expired sessions in Django
[Django] Give an initial value to ChoiceField
[Python] How to use import sys sys.argv
To import your own module with jupyter
Django initial setup up to Intellij Debug
Django non-logged-in users want to transition to login.html
How to do Server-Sent Events in Django
How to convert DateTimeField format in Django
Output user information etc. to Django log
[Python] Introduce UIKit3 to your Django project