How to use PyQt5 without a Virtual Environment

I recently tried to make an PyQt5 Web Browser. It kept on showing errors until I used a virtual environment to run the code. Now I want to run the code WITHOUT a virtual environment, but it just displays this error:

Traceback (most recent call last):
  File "Browser.py", line 2, in <module>
    from PyQt5.QtCore import *
ImportError: DLL load failed while importing QtCore: The specified module could not be found.

My code looks like this:

import sys
from PyQt5.QtCore import *
from PyQt5.QtWebEngineWidgets import *
from PyQt5.QtWidgets import QApplication

url = "https://stackoverflow.com/"

app = QApplication(sys.argv)
 
web = QWebEngineView()
web.load(QUrl(url))
web.setZoomFactor(2)
web.zoomFactor()
web.show()
 
sys.exit(app.exec_())

Just so you know, I use Windows 10 (64 bit) and Python 3.8.5.

%d bloggers like this: