wotwot / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pssh command don't work on python3.x

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. install psshlib on python3
2. run pssh command
3. error

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/local/python3.2/bin/pssh", line 26, in <module>
    from psshlib.cli import common_parser, common_defaults
  File "/usr/local/python3.2/lib/python3.2/site-packages/psshlib/cli.py", line 9, in <module>
    import version
ImportError: No module named version

What version of the product are you using? On what operating system?

source cloned from master branch (540e26e)

Please provide any additional information below.

line 9 in psshlib.cli
"import version" -> "from psshlib import version"

Original issue reported on code.google.com by shoma....@gmail.com on 1 May 2012 at 12:46

This has been fixed in the master branch for a while, but we haven't made a new 
release since then. Hopefully I'll be able to do this in a week or two. In the 
meantime, if you're in a hurry, feel free to do a `git clone` as described in 
the "Source" tab of the parallel-ssh project page. Alternatively, change line 9 
of cli.py to:

  from . import version

Sorry for the inconvenience, and thank you very much for participating with 
pssh. It's great to have dedicated users.

Original comment by amcna...@gmail.com on 1 May 2012 at 2:34

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****