Code runs well while I run the .py file but as soon as i convert it into .exe file via pyinstaller by typing :
pyinstaller --onefile "Filename.py"
and then go and run the .exe file I receive error
I have installed this as : pip install http-request-randomizer
pyinstaller : pyinstaller --onefile Filename.py

Error occurring in .exe file only