I installed python3.9 on windows 10. I created a virtual environment and installed all the packages i need for my program I then ran pyinstaller to create an executable and got the following error message: OSError: Python library not found: libpython39m.dll, python39.dll, libpython39.dll, libpython3.9.dll, libpython3.9m.dll
Do I need to install python to my virtual environment folder? I looked at other questions that are similar but didn't understand the solutions. I am very new creating exes.
I had some problems with dependencies and PyInstaller some time ago, I solved it by installing Python 3.8.6 and PyInstaller through:
python.exe -m pip install --upgrade pip
python.exe -m pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip