Вижуалка не видит библиотеки в питоне, хоть они и установлены. Я думал переустановить язык, но не помогло.
PS D:\MISHA\Programming> pip3 install pytest
Requirement already satisfied: pytest in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (7.1.2)
Requirement already satisfied: packaging in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytest) (21.0)Requirement already satisfied: colorama in c:\tools\manim\lib\site-packages (from pytest) (0.4.4)
Requirement already satisfied: iniconfig in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytest) (1.1.1)
Requirement already satisfied: py>=1.8.2 in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytest) (1.11.0)
Requirement already satisfied: atomicwrites>=1.0 in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytest) (1.4.0)
Requirement already satisfied: attrs>=19.2.0 in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytest) (21.2.0)
Requirement already satisfied: tomli>=1.0.0 in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytest) (1.2.2)
Requirement already satisfied: pluggy<2.0,>=0.12 in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from pytestRequirement already satisfied: pyparsing>=2.0.2 in c:\users\mikhan_go\appdata\local\programs\python\python39\lib\site-packages (from packaging->pytest) (2.4.7)
WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the 'C:\Users\MIKHAN_GO\AppData\Local\Programs\Python\Python39\python.exe -m pip install --upgrade pip' command.
PS D:\MISHA\Programming> & C:/Users/MIKHAN_GO/AppData/Local/Programs/Python/Python310/python.exe d:/MISHA/Programming/one/pyy.py
Traceback (most recent call last):
File "d:\MISHA\Programming\one\pyy.py", line 1, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
(Не видит не только путест, но и другие библиотеки)