-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Error #36
Comments
If I run it from intersight-python-master path: $ py claim_device.py -a intersight_api_params -d devices if I run in from intersight-python-master\examples path $ py claim_device.py -a intersight_api_params -d devices $ python -V $ pip list |
With newer python SDKs (installed with PIP), the claim_target.py script from https://github.com/CiscoDevNet/intersight-python-utils/tree/master/config_targets can be used. Example usage is the following (needs to be run from the config_targets subdir): python claim_target.py -t sjc07_devices.json The older claim_device.py script does not work with newer SDKs. |
My current Iintersight package ver. is 1.0.9.5808. It seems to be the latest per pypi.org: Dave are you referring to intersight-rest: intersight-rest 1.1.7 ? Derek |
(ucs_ops) [vagrant@cisco-vagrant cimc_ansible]$ python claim_device.py --help
Traceback (most recent call last):
File "claim_device.py", line 10, in
import device_connector
ImportError: No module named device_connector
(ucs_ops) [vagrant@cisco-vagrant cimc_ansible]$
device_connector is is available and tested on python 2.7 and 3.6
Can you please take a look?
The text was updated successfully, but these errors were encountered: