Unable to install windows 10

I just installed python 3.11 on a windows 10 machine and attempted to install psychopy. The pip failed at installing wxpython, saying it was missing module “attrdict”. I found a solution online that said to install attrdict3 first. I did that, and the installation failed again at the same point but with a build error:

Running command: build
Running command: build_wx
CL.exe: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX64\x64\cl.exe
Downloading microsoft.web.webview2 1.0.1185.39…
Traceback (most recent call last):
File “C:\Users\dntow\AppData\Local\Temp\pip-install-b602l44d\wxpython_7bfcbbb1a32447e28c14e477d70d8bd4\build.py”, line 668, in getMSWebView2
import requests
ModuleNotFoundError: No module named ‘requests’

Is this perhaps a problem with the version of Python (3.11)?