waldirio / rvtools_python

Application to be executed on Linux and collect all information from vCenter
10 stars 10 forks source link

ModuleNotFoundError: No module named 'pyVim' #45

Closed shoujche closed 6 months ago

shoujche commented 2 years ago

(pyrvtools) shoujche@SHOUJCHE-M-D2AG ~ % rvtools Traceback (most recent call last): File "/Users/shoujche/.pyenv/versions/pyrvtools/bin/rvtools", line 7, in from rvtools import rvtools File "/Users/shoujche/.pyenv/versions/3.6.6/envs/pyrvtools/lib/python3.6/site-packages/rvtools/rvtools.py", line 9, in from pyVim import connect ModuleNotFoundError: No module named 'pyVim'

i can execute from pyvim import connect, but when execute from pyVim import connect raise the above error. so why your code use pyVim not pyvim

Toxik1983 commented 1 year ago

I ran into the same problem, you just need to install pyvmomi as a dependency.

waldirio commented 1 year ago

Hello @Toxik1983 and @shoujche, good morning

Please, feel free to click here https://github.com/waldirio/rvtools_python/releases/tag/1.0.0 and download the binary file. Everything is builtin and will run with no additional configuration of virtual environment and/or python module.

I'll fix this ASAP in order to work fine when installing via pip.

Thank you and sorry for the issue.

waldirio commented 6 months ago

Hello @Toxik1983

Thank you for your heads up and sorry for my delay. Already fixed.