Skip to content Skip to sidebar Skip to footer

Getting Os Error Python Library Not Found

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

Solution 1:

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

Solution 2:

Came across the same issue recently, managed to get it working with the following steps:

1 - Make sure you remove all installations of python you have installed over the windows AppStore and reinstall from here

2 - [ IMPORTANT - but an easy step to slip ] delete the virtual environment made with your previous python installation and re-install it (with all the required packages)

3 - create a new virtual env and install pyinstaller following -GConelhero's answer

Post a Comment for "Getting Os Error Python Library Not Found"