vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
165 stars 105 forks source link

How to use vcd in windows #529

Open MaMouette opened 4 years ago

MaMouette commented 4 years ago

I installed pyhton and vcd-cli under win10. It's OK. I can start python. I do "import vcd_cli". No error. And then.. how to use vcd ? When I type "vcd version" there is an error (invalid syntax). I'm a new user of pyhton. .. How to do ? Thank you.

junankar commented 4 years ago

vcd-cli is a Command Line Interface for VMware vCloud Director. In this case command line utility will be installed to %APPDATA%\Python\Scripts\vcd.exe.

Once you add %APPDATA%\Python\Scripts path to PATH environment variable, you can directly use vcd commands on commandline.

Refer to https://github.com/vmware/vcd-cli/blob/master/docs/install.md for more details.

MaMouette commented 4 years ago

Hello, Thank-you for this anwser. We followed the installation steps of the install.md document. The command "pip3 list" show me tthe vcd-cli pacga ehas benne installed. I then type the command "py" to start pyhton. Then "vcd version" but I got "SyntaxError: invalid syntax" vcd-cli as far as I understand in the windows environment is not a command line interface. There is no vcd.exe installed. It's a package of commands to be used within Python.