juancarlospaco / faster-than-requests

Faster requests on Python 3
https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e
MIT License
1.11k stars 90 forks source link

ModuleNotFoundError: No module named 'faster_than_requests.faster_than_requests' #180

Closed caioluccas closed 3 years ago

caioluccas commented 3 years ago

I have compiled my program to .exe and now its returning this error ModuleNotFoundError: No module named 'faster_than_requests.faster_than_requests', if i run without compile it works normally, any idea what it might be?

juancarlospaco commented 3 years ago

It depends how are you compiling to EXE, that is not a functionality of the code in this repo...

caioluccas commented 3 years ago

Im using pyinstaller 4.7 to compile it

using this command pyinstaller --noconfirm --onedir --console "C:/path/archive.py"

juancarlospaco commented 3 years ago

Then that is a Bug or Feature for Pyinstaller project, and should be reported there.

We can not fix bugs in Pyinstaller. The code in the repo does not makes EXEs.

juancarlospaco commented 3 years ago

Good luck with that!, I never been able to make EXE with Pyinstaller in a stable way, but was years ago.