django: ModuleNotFoundError: No module named '****'

1350 단어 django
1. ModuleNotFoundError: No module named'corsheaders'(python3 환경)
pip3 install django-cors-headers

2. ModuleNotFoundError: No module named'restframework'
pip3 install djangorestframework

3. ModuleNotFoundError: No module named'oss2'
pip3 install oss2

4. ModuleNotFoundError: No module named'restframework_jwt'
pip3 install djangorestframework-jwt

5. ModuleNotFoundError: No module named'PIL'
pip3 install pillow

설치된 것으로 나타나면 마운트 해제하고 설치하면 됩니다.pip uninstall pillow
6. ModuleNotFoundError: No module named'alipay'
pip3 install python-alipay-sdk --upgrade

7. ModuleNotFoundError: No module named'bs4'
 pip3 install beautifulsoup4

8. ModuleNotFoundError: No module named'qrcode'
pip    ,    ,        ,  cmd   
python -m pip install --upgrade pip
pip3 install prcode

 
참조 자료:
https://stackoverflow.com/questions/52585200/trouble-with-django-cors-header-modulenotfounderror-no-module-named-corshead
https://stackoverflow.com/questions/33308781/django-rest-framework-no-module-named-rest-framework
https://yq.aliyun.com/articles/667565

좋은 웹페이지 즐겨찾기