VScodeを利用してDjangoでかかれたプログラムの改善をしています
コードの大本は先輩が書いたもので自分で書いたものではないのですべては把握できていません
これまでHTMLのみで書かれていたテンプレートの画面をCSSを追加して整えようと思いdjango-widget-tweaksをinstallしようとしたところ下記のエラーが出ます
$ py -m pip install django-widget-tweaks /usr/bin/py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import Iterable usage: py [-x] [-l] [-c PRE_CMD] [-C POST_CMD] [-V] [-h] [expression] py: error: unrecognized arguments: -m install django-widget-tweaks
py -m pip install django-widget-tweaks以外にもpy -m pip listも同様の状態になります
py -mをつけていない状態ですと
コード$ pip install django-widget-tweaks Command 'pip' not found, but there are 18 similar ones.
となります
環境は
python 3.10.4
windouws 10
です
あなたの回答
tips
プレビュー