dnaeon / py-vpoller

Distributed vSphere API Proxy
Other
83 stars 31 forks source link

How to use vPoller in Windows #248

Open mousumipaul opened 6 years ago

mousumipaul commented 6 years ago

Hi Marine I have installed vPoller in my window desktop. And I have added the python Path also. I am using python 3.6.3. Therefore after installation one vPoller folder has been generated inside "C:\Users\USER\AppData\Local\Programs\Python\Python36\Lib\site-packages" path. Therefore I have a confusion that shall I put "vpoller.conf" file inside the vPoller folder or somewhere else. Currently I put it inside vPoller folder. After that I have opened cmd and tried this command "vconnector-cli init" but any of the command which have been mentioned in the docs is not working. I think i am missing something.... please help me to run vPoller in window platform..

dnaeon commented 6 years ago

Hey @mousumipaul ,

Please show me some example commands that you are running and the output you get.

The vpoller.conf file can be placed anywhere you like, just make sure that when you start the vPoller services you pass in the path to the config file using the --file option.

Also please show your PATH environment variable here.

Thanks, Marin

mousumipaul commented 6 years ago

Hi Marine sorry for late reply. I have set my python path. The PATH environment variable is "C:\Users\MOU\AppData\Local\Programs\Python\Python36\Scripts\;"

I tried the following command in the cmd: vconnector-cli init I got the following error: 'vconnector-cli' is not recognized as an internal or external command, operable program or batch file.

I have also tried: vconnector-cli -H XXXX -U root -P XXXXXX and got the same error. anyway it is not able to identify the command..vconnector-cli

I could not understood your last comment like passing the path to the config file using the --file option. can you give me an example

dnaeon commented 6 years ago

You need to have your PATH env variable properly set, that is why you cannot run the commands.

Have you followed this guide?

https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation

mousumipaul commented 6 years ago

Hi Marin Thanks for the answer. But ya i have followed the links to install python and pip. I am using python 3.6.3 and pip comes with it. I have also checked the python PATH variable. It is set. But sorry still having the same issue.

On Fri, Jun 15, 2018 at 12:29 AM, Marin Atanasov Nikolov < notifications@github.com> wrote:

You need to have your PATH env variable properly set, that is why you cannot run the commands.

Have you followed this guide?

https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dnaeon/py-vpoller/issues/248#issuecomment-397403279, or mute the thread https://github.com/notifications/unsubscribe-auth/AlebGREmdUEBhhuikEsD0nePRplL0rYuks5t8rKTgaJpZM4UeYFC .

--

Thanks and Kind Regards--------------------------------- Mousumi Paul PhD Research Scholar, National Institute of Technology (NIT), Durgapur *Mob:+91-*8553182436 E-mail:-mousumipaul.88@gmail.com E-mail%3A-debabrata.samanta369@gmail.com

Google Scholar Page: http://goo.gl/rHPpdM http://goo.gl/rHPpdM

mousumipaul commented 6 years ago

Hi Marin When I have tried in ubuntu it works. But anyhow I am not able to run in windows.

On Tue, Jul 3, 2018 at 10:15 AM, Mousumi Paul mousumipaul.88@gmail.com wrote:

Hi Marin Thanks for the answer. But ya i have followed the links to install python and pip. I am using python 3.6.3 and pip comes with it. I have also checked the python PATH variable. It is set. But sorry still having the same issue.

On Fri, Jun 15, 2018 at 12:29 AM, Marin Atanasov Nikolov < notifications@github.com> wrote:

You need to have your PATH env variable properly set, that is why you cannot run the commands.

Have you followed this guide?

https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Window s-installation

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dnaeon/py-vpoller/issues/248#issuecomment-397403279, or mute the thread https://github.com/notifications/unsubscribe-auth/AlebGREmdUEBhhuikEsD0nePRplL0rYuks5t8rKTgaJpZM4UeYFC .

--

Thanks and Kind Regards--------------------------------- Mousumi Paul PhD Research Scholar, National Institute of Technology (NIT), Durgapur *Mob:+91-*8553182436 E-mail:-mousumipaul.88@gmail.com E-mail%3A-debabrata.samanta369@gmail.com

Google Scholar Page: http://goo.gl/rHPpdM http://goo.gl/rHPpdM

--

Thanks and Kind Regards--------------------------------- Mousumi Paul PhD Research Scholar, National Institute of Technology (NIT), Durgapur *Mob:+91-*8553182436 E-mail:-mousumipaul.88@gmail.com E-mail%3A-debabrata.samanta369@gmail.com

Google Scholar Page: http://goo.gl/rHPpdM http://goo.gl/rHPpdM

dnaeon commented 6 years ago

Please post the output of installing vPoller using pip.

pip install vpoller