1

我想在 win 7 32bit 上安装 paramiko,python 是 3.3。我可以编译它,但得到以下错误:

Installed c:\python33\lib\site-packages\paramiko-1.8.0-py3.3.egg
Processing dependencies for paramiko==1.8.0
Searching for pycrypto==2.6
Best match: pycrypto 2.6
Adding pycrypto 2.6 to easy-install.pth file

Using c:\python33\lib\site-packages
Finished processing dependencies for paramiko==1.8.0

C:\Users\MC\Downloads\paramiko-paramiko-v1.8.0-9-g786920a>python
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import paramiko
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".\paramiko\__init__.py", line 62, in <module>
    from .transport import SecurityOptions, Transport
  File ".\paramiko\transport.py", line 68, in <module>
    class SecurityOptions (object):
ValueError: 'ciphers' in __slots__ conflicts with class variable
>>>
4

1 回答 1

0

Paramiko 不能在 Python 3 上运行。然而。我正在开发一个分支 ( https://github.com/dorianpula/paramiko/tree/python3-support ) 以添加对 Python 3 的支持,并且我正在努力解决这个特定问题。

于 2013-10-24T12:40:48.960 回答