This code goes under gym/envs/ (With conda it is generally present oin /anaconda3/envs/spinningup/lib/python3.6/site-packages/gym). There is a robotics environment already in the gym. This code just adds an additional environement.