我想使用ssh
,python2.7
和asyncio
运行多个asyncssh
个关联。为了了解如何安装这些软件包,我发现我的python
版本应为python3
或更高版本,我需要安装trollius
来运行asyncio
个函数使用python2.7
。如果我需要使用asyncssh
使用python2.7
函数,我应该遵循哪些步骤,我需要处理哪些依赖项?
答案 0 :(得分:5)
asyncssh
needs Python 3.4+, what strictly specified in it's requirements.
trollius
is not a full replacement for asyncio
and can't be used for most asyncio
based modules you might need in your project.
So, if you're going to start new project with asyncio
(and asyncssh
), it's a good chance to start it using Python 3.