Fails to import in python3
ManushB opened this issue · 2 comments
ManushB commented
Version: 1.4
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/nginx/__init__.py", line 1, in <module>
from main import *
ImportError: No module named 'main'
Possible Fix:
from .main import *
fulder commented
I think there has been something werid with the building of 1.4 version? The code looks different than master and even has files not existing at the tagged 1.4 version.
peakwinter commented
PyPI uploading problem -- this has been fixed in 1.4.1. Sorry!