Comments (12)
@WalterWo Seems vapi-client-binding didn't re-installed correctly. The right version should be 1.3.1.
Can you post the output of the pip install cmd?
from vsphere-automation-sdk-python.
same issue here with the vapi-client-bindings version 1.3.1
$ pip freeze | grep vapi
vapi-client-bindings==1.3.1
vapi-common-client==2.9.0
vapi-runtime==2.9.0
vapi-vmc-client==2.9.0
from vsphere-automation-sdk-python.
@khalilnawar do you still have the same issue? Can you post the complete output of the pip install cmd?
from vsphere-automation-sdk-python.
@WalterWo @khalilnawar I am closing this due to missing info. Feel free to reopen with needed info if you still see issues.
from vsphere-automation-sdk-python.
wget https://bootstrap.pypa.io/get-pip.py
python3.6 get-pip.py
python3.6 -m pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:///
or create new virtual env
from vsphere-automation-sdk-python.
If you run into a problem like this:
Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
It happened to me when running the pip install command with an active conda 3.6.8 environment. You could all --ignore-installed like so to solve it:
$ git clone https://github.com/vmware/vsphere-automation-sdk-python.git $ cd vsphere-automation-sdk-python $ pip install --upgrade --force-reinstall --ignore-installed -r requirements.txt \ --extra-index-url file:///$PWD/lib
from vsphere-automation-sdk-python.
@tianhao64 sir i have already installed all the packages mentioned in the requirement.txt file but still i am getting the error "Module not found".Here is the complete
from vsphere-automation-sdk-python.
@Rajeev244
have you set the PYTHONPATH as mentioned here? - set PYTHONPATH
from vsphere-automation-sdk-python.
@anusha94 .Thanks for your response ,the issue got resolved .
from vsphere-automation-sdk-python.
@Rajeev244 how this issue got resolved?
from vsphere-automation-sdk-python.
@rahulyadav130 .Kindly set the path variable correctly and ten clone the repository.It should work.frankly speaking i did long back.Let me know if you still faces issue.
from vsphere-automation-sdk-python.
in case someone still has this issue - make sure your file is not called vmware.py , as it will conflict with the package name, causing the ModuleNotFoundError.
A silly mistake, but often overlooked, as it was in my case..
from vsphere-automation-sdk-python.
Related Issues (20)
- setup.py deprecated, replaced by pyproject.toml HOT 1
- Repo documentation errors HOT 2
- Upgrade Cryptography 36.0.0 to 39.0.1 or higher if possible HOT 1
- Sample code doesn't return VM.List() HOT 8
- Looking for python API binding to list VMs and its networking and storage resources. HOT 3
- Failed to import a CA certificate into vCenter Server HOT 6
- [question] how to list custom_attributes for vm? HOT 1
- Air Gap Installation Issue HOT 3
- No LICENSE.txt file in the package HOT 4
- Support communication with vCenter Server via kerberos authenticated proxy sever HOT 1
- pip install vsphere-automation-sdk-python is broken. HOT 3
- vcenter.iso.iso_path.get_datastore_path() missing HOT 3
- from vmware.vapi.vsphere.client import create_vsphere_client HOT 8
- How to get VM Hardware of a OVF Template in Content Library HOT 5
- Not able to create ticket for Web console for newly created VM HOT 6
- Possible problem with Python 3.12? HOT 7
- Use "com" folder as an implicit namespace HOT 1
- How to get list of running Tasks ? HOT 2
- How to get list of running Tasks using vsphere-automation-sdk-python? HOT 1
- Add "Rename" to VM operations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsphere-automation-sdk-python.