vmware / vsphere-automation-sdk-python

Python samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
MIT License
745 stars 313 forks source link

Outdated pip package #417

Closed JeffTurner69 closed 6 months ago

JeffTurner69 commented 6 months ago

Describe the bug

I am not able to install the sdk using pip package but I am required to do so due to company policies. The package seems to be outdated: https://pypi.org/project/vsphere-automation-sdk-python/. Is it possible to update the package?

Error: python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-mz8l2ywz/vsphere-automation-sdk-python_f77acd639bf64c26a0048e5785f9fcb2/setup.py", line 13, in license=read('LICENSE.txt'), File "/tmp/pip-install-mz8l2ywz/vsphere-automation-sdk-python_f77acd639bf64c26a0048e5785f9fcb2/setup.py", line 5, in read with open(os.path.join(os.path.dirname(file), fname)) as fn: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-mz8l2ywz/vsphere-automation-sdk-python_f77acd639bf64c26a0048e5785f9fcb2/LICENSE.txt' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

Reproduction steps

1.pip install vsphere-automation-sdk-python

Expected behavior

Successful installation of the package.

Additional context

No response

bhagatp10 commented 6 months ago

The package on pypi is just the reserved namespace, there are no deliverables in it. If you want to install the sdk, you can follow these steps.