xArm-Python-SDK
xArm-Python-SDK copied to clipboard
trying to import the APIs & Python SDK
Hi,
- first of all can u please tell me which python version I should use? i know it is 3 as mentioned but which 3.x?
- in order to import from arm xarm-Python SDK I should use this command pip install xarm-python-sdk but while I am trying to run it am getting this error Defaulting to user installation because normal site-packages is not writeable Collecting xarm-python-sdk Using cached xArm-Python-SDK-1.11.6.tar.gz (137 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
can u please help us? we are trying to import all the APIs to connect via Python to the robots, can u attach any readme file more simplified? we are students and working on project. Thanks in advance.
So - from my side - I got the same error as above. But what I did do that worked was use through PyCharm. Basically, open PyCharm, then open the robot.conf file from inside pycharm under the examples directory - then everything works (in pycharm at least)
Hi, We updated the package into PYPI, please try 'pip install xArm-Python-SDK' again. If there are still 'metadata-generation-failed' problem, please try 'pip install xArm-Python-SDK==1.11.7'
Best,