Issue
Today I tried to use new version of Python (3.6). I installed aiopg
by pip (via PyCharm interpreter section tool).
And after I tried to import aiopg
, exception was happend:
from aiopg.sa import create_engine
File "C:\Python36\lib\site-packages\aiopg\__init__.py", line 5, in <module>
from .connection import connect, Connection, TIMEOUT as DEFAULT_TIMEOUT
File "C:\Python36\lib\site-packages\aiopg\connection.py", line 4, in <module>
import fcntl
ModuleNotFoundError: No module named 'fcntl'
What is fcntl
? It's linux python native module? In any case it does not work. Any solutions?
Solution
aiopg==0.11
has a regression but brand new aiopg==0.12
should work on Windows.
Answered By - Andrew Svetlov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.