You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote some big software in Python and now i want to build a one executable file that will run it all.
To build this executable i used pyinstaller .
It worked fine until i used aiohttp module, for some reason it doesn't recognize it
Expected behaviour
To build the aiohttp as part of the executable
Actual behaviour
After creating the executable and trying to run it i get the message "ImportError: No module named 'aiohttp'"
Steps to reproduce
A file that contains
import aiohttp
print("hello word")
Then try to make an executable file from this python file
Your environment
Python 3
Any windows
The text was updated successfully, but these errors were encountered:
karamjaber
changed the title
cxfreeze/pyinstaller aiohttp cannot import compat
pyinstaller cannot import aiohttp
Oct 4, 2017
Sorry, but executable building is out of aiohttp scope.
The project has nothing special from this perspective.
IIRC you need enumerate missed top level packages in your setup.py. cf_Freeze supports build_exe_options for example.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that [new issue].
[new issue]: https://github.com/aio-libs/aiohttp/issues/new
Long story short
I wrote some big software in Python and now i want to build a one executable file that will run it all.
To build this executable i used pyinstaller .
It worked fine until i used aiohttp module, for some reason it doesn't recognize it
Expected behaviour
To build the aiohttp as part of the executable
Actual behaviour
After creating the executable and trying to run it i get the message
"ImportError: No module named 'aiohttp'"
Steps to reproduce
A file that contains
Then try to make an executable file from this python file
Your environment
Python 3
Any windows
The text was updated successfully, but these errors were encountered: