问题
I am trying to use create an authoritative server using twisted names. I was using python 3.6 and installed using pip3 install twisted
, but it looks like pip is not updated with python3 versions. Specifically, pip has twisted 20.3, but 20.3 is written for Python2. The file authority.py
uses python2 syntax in 20.3 version - Line 308. Any idea about when the pip package is going to be updated? Is it recommended to use python2 (and version 20.3) or install from source by cloning the repository?
来源:https://stackoverflow.com/questions/64433733/python-twisted-pip-package-not-compatible-with-python3