jetsonhacks / installRACECAR

Install the MIT RACECAR ROS software and dependencies
MIT License
3 stars 4 forks source link

In Jetson TX2 and jetpack32, for racecar #2

Open aysegulucar2016 opened 6 years ago

aysegulucar2016 commented 6 years ago

In Jetson TX2 and jetpack32, for racecar I ınstalled tensorflow with pip3 and keras. My TX2 includes python3.5 and python2.7 also.

Now I am receiving the error . How can I correct it? Many thanks

ImportError Traceback (most recent call last)

in () 4 import numpy as np 5 # opencv ----> 6 import cv2 7 # 8 import matplotlib.pylab as plt ImportError: /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so: undefined symbol: PyCObject_Type
jetsonhacks commented 6 years ago

It appears as if you are attempting to call OpenCV from the ROS Python 2.7 packages from Python3. There's not enough information here to provide any information, since you don't list which commands you are using when you get the error.

jetsonhacks commented 6 years ago

You are attempting to use the Python 2.7 libraries. You should check into setting your PYTHONPATH environment variable.

aysegulucar2016 commented 6 years ago

Many thanks. Kind regards