Errors under python 2.7

91 views
Skip to first unread message

CyberLoiter

unread,
Jan 29, 2015, 5:26:10 PM1/29/15
to psp...@googlegroups.com
Recently installed psphere with the command:
pip install -U psphere

The connect.py got an error, any ideas? Many thanks for your help.

$ ./connect.py --server 10.10.53.23 --username myusername --password mypassword
Traceback (most recent call last):
  File "./connect.py", line 16, in <module>
    from psphere.client import Client
  File "/usr/local/lib/python2.7/dist-packages/psphere/client.py", line 37, in <module>
    from psphere import soap, ManagedObject
  File "/usr/local/lib/python2.7/dist-packages/psphere/soap.py", line 91, in <module>
    class ManagedObjectReference(suds.sudsobject.Property):
AttributeError: 'module' object has no attribute 'sudsobject'


$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import suds
>>> print suds.__version__
0.6
>>> quit()

$ uname -a
Linux wcinitiator 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"



Reply all
Reply to author
Forward
0 new messages