ianrosadas / pysphere

Automatically exported from code.google.com/p/pysphere
0 stars 0 forks source link

Unable to execute command "from pysphere import VIServer" from python #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Just I have entered "from pysphere import VIServer" to the python. I am 
getting the error.

What is the expected output? What do you see instead?
[Res] I am getting the below outout: 
===========
Python 2.6 (r26:66714, May  6 2011, 15:10:21)
[GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysphere import VIServer
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/__init__.py", line 171, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/vi_task.py", line 34, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/resources/VimService_services.py", line 9, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/resources/VimService_services_types.py", line 9, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/ZSI/__init__.py", line 384, in <module>
  File "build/bdist.linux-x86_64/egg/pysphere/ZSI/parse.py", line 6, in <module>
  File "/usr/lib64/python2.6/xml/dom/expatbuilder.py", line 32, in <module>
    from xml.parsers import expat
  File "/usr/lib64/python2.6/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib64/python2.6/lib-dynload/pyexpat.so: undefined symbol: 
_Py_HashSecret
>>>
============================

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

I am using SUSELINUX11 Operating system and I am using Python 2.6.

Please provide any additional information below.

Original issue reported on code.google.com by anuragku...@gmail.com on 16 Jul 2015 at 11:11