We are facing following error while trying to create package in groovy envirnment on pr2
When we use catkin_init_workspace command, it is showing following error
without sudo:
catkin_init_workspace
Could neither symlink nor copy file "/opt/ros/groovy/share/catkin/cmake/toplevel.cmake" to "/home/pr2admin/r_os/src/CMakeLists.txt":
- [Errno 13] Permission denied
- [Errno 13] Permission denied: '/home/pr2admin/r_os/src/CMakeLists.txt'
pr2admin@c1:~/r_os/src$
with sudo:
sudo catkin_init_workspace
Traceback (most recent call last):
File "/opt/ros/groovy/bin/catkin_init_workspace", line 11, in <module>
from catkin.init_workspace import init_workspace
ImportError: No module named catkin.init_workspace
Kindly help us to resolve this problem