VMware Cloud Community
thetechuser11
Contributor
Contributor

Python on VMware ESXi 6.0.0 Update 1

How to install pip and requests on VMware ESXi 6.0.0 Update 1

My current version of python is Python 2.7.9.

Original requirement is to upgrade python to 3.7.4 and install requests module.

Tags (2)
0 Kudos
3 Replies
jburen
Expert
Expert

If you want to install python on an ESXi host... don't... Maybe it looks like linux and maybe it smells like linux, it isn't.

Consider giving Kudos if you think my response helped you in any way.
0 Kudos
hamistao
Contributor
Contributor

i know it's been a long time but i'm curious, why exactly shoudn't i install Python on an ESXi host?

0 Kudos
vbondzio
VMware Employee
VMware Employee

ESXi has a version of Python installed:

[root@esxi:~] python -VV
Python 3.8.8 (default, Oct 13 2021, 02:13:52)
[GCC 4.6.3]
[root@esxi:~] vmware -vl
VMware ESXi 7.0.3 build-19193900
VMware ESXi 7.0 Update 3

What you shouldn't try to do is install updates or additional modules. ESXi is not a general purpose operating system and changes like that are unsupported. Also, you'd need to update via VIB, reduce the acceptance level etc.