If working on VS Code, and Windows, install Python 3.9 from Microsoft Store, open your terminal, make a Virtual Environment with "python3.9 -m venv myenv" and then install "pip install pyrealsense2".
Works perfectly.