- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Path of file : workspace/ncsdk/examples/caffe/GoogLeNet
When I run ‘make run_py’
I got following error
making run_py
./run.py
Traceback (most recent call last):
File "./run.py", line 22, in
import cv2
ImportError: /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so: undefined symbol: PyCObject_Type
Makefile:96: recipe for target 'run_py' failed
The make run_cpp run very well but somehow run_py was giving error to me. I got the same error with other example (AlexNet, inception etc)
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works for me after Installing cv2 with below:
sudo pip3 install opencv-python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@manishkumar, it causes by environment settings of ros kinetic. You can easily work around it without "source /opt/ros/kinetic/setup.bash"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@manishkumar, this might be a good reference to run NCS with ROS - https://ncsforum.movidius.com/discussion/403/ros-movidius-ncs-release-v0-4-0
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page