eric-wieser / ros_numpy

Tools for converting ROS messages to and from numpy arrays
MIT License
305 stars 158 forks source link

ValueError: Attempted relative import in non-package #8

Closed chandanlal92 closed 5 years ago

chandanlal92 commented 6 years ago

Hi, I wanted to convery numpy array to point cloud.I am facing follwing issue. I get this error while using this library. Is there any workaround for this?

from .registry import converts_from_numpy, converts_to_numpy

ValueError: Attempted relative import in non-package

eric-wieser commented 6 years ago

In what file is that line of code? It sounds like your python path is not set up correctly

eric-wieser commented 5 years ago

Closing, this is an installation issue