Universal Robots Forum

Problem using pip to install RTDE

I am currently trying to install the RTDE python package to communicate with UR10e Cobot, but keep getting errors.

When I type in “pip install --user ur-rtde”, I get errors. I have attached a picture with the error message, as it is too big to fit into a post.

I want to use RTDE to help with received data. I currently have been experimenting with using a socket connection in python and setting digital inputs and outputs. I want to start sending integer variables to the cobot and read received data. I know how to receive data from the cobot using the socket connection, but I don’t understand anything that I receive back from the cobot. It is just a big hex string.

So I have 3 questions:

  1. Is there some pre-requisite that I have to do before I try to install this? Is there another way to install this withou pip?
  2. Does anyone have any information on how to send integer values using python socket library?
  3. Does anyone have any information on how to interpret the data received using the socket.recv(1024) command? The
    received data looks something like

It looks like this particular library requires cmake that is not installed.
There is official RTDE library available on Real-Time Data Exchange (RTDE) Guide - 22229

Hi Sean

Please ask these questions on the issue tracker related to ur_rtde. Regarding your specific question, there is currently an issue with pip installation of ur_rtde on Windows, until I fix this you can try to build it from source.