Pip not found on virtual environment
Я создал виртуальную среду, которая называется "hekim_venv". Но когда я пытаюсь установить django в ней, она выдает "pip not found error". Когда я проверяю расположение pip, там нет ни одного pip. Когда я проверяю pip3, он указывает на местоположение homebrew. Таким образом, для venv's нет pip'ов.
Как я могу установить библиотеки в виртуальном env? Я не могу понять и разобраться в конфигурации.
(hekim_venv) cucal@CANER-MacBook-Air dentist_project % pip install django
zsh: command not found: pip
(hekim_venv) cucal@CANER-MacBook-Air dentist_project % pip3 install django
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: django in /opt/homebrew/lib/python3.9/site-packages (4.0.2)
Requirement already satisfied: asgiref<4,>=3.4.1 in /opt/homebrew/lib/python3.9/site-packages (from django) (3.5.0)
Requirement already satisfied: sqlparse>=0.2.2 in /opt/homebrew/lib/python3.9/site-packages (from django) (0.4.2)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
(hekim_venv) cucal@CANER-MacBook-Air dentist_project % which pip
pip not found
(hekim_venv) cucal@CANER-MacBook-Air dentist_project % which pip3
/opt/homebrew/bin/pip3
Я использовал модуль venv вместо virtualenv и проблема решилась.