Ask Your Question
0

Import error: ParallelIce.Motors

asked 2018-02-11 04:09:21 -0500

jmvega gravatar image

Hi all,

I am trying to use the module Ice Motors on my Raspberry Pi3, but I get this error message: /opt/jderobot/share/conf: Traceback (most recent call last): File "myAlgorithm.py", line 16, in <module> from mBotGazebo import MBotGazebo File "./mBotGazebo/mBotGazebo.py", line 3, in <module> from ParallelIce.Motors import Motors ImportError: No module named ParallelIce.Motors

Since JdeRobot is not fully installed, just a few needed components, it could be the reason. But if I go the Python library path, I find a similar library, called "motors_ice.py". I have tried to change it in my import header, but it also raises similar errors.

Does anyone have any idea, please?

Julio

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-02-12 02:15:41 -0500

aitormf gravatar image

show me ls output in /opt/jderobot/libs/python2.7 directory:

ls /opt/jderobot/libs/python2.7

its looks that you don't have parallelIce

edit flag offensive delete link more
0

answered 2018-02-12 02:56:48 -0500

jmvega gravatar image

updated 2018-02-12 03:43:21 -0500

Thanks for your answer,

I can't show the output of my Raspberry Pi right now, but I'm sure there's no "parallelIce" folder as in my laptop, which output I show you: ardroneextraice.py imageice.py primitivesice.py bumperice.py jcmice.py ptencodersice.py cameraice.py jderobot/ ptmotorsice.py cmdvelice.py jderobotTypes/ qdarkstyle/ comm/ jointmotorice.py recorderice.py commonice.py kinectledsice.py remoteCloudice.py config/ laserice.py remoteConfigice.py containersice.py motorsice.py replayControlice.py controlice.py namingServiceice.py rgbdice.py datetimeice.py navdataice.py RoboCompJointMotor/ easyiceconfig/ parallelIce/ sonarsice.py emSensorice.py pointcloudice.py visualizationice.py encodersice.py pose3dencodersice.py visualStatespy/ exceptionsice.py pose3dice.py
genericData
ice.py pose3dmotors_ice.py

I still thinking that the reason is JdeRobot is not fully installed, just a few needed components. That's why I have no "jderobot-parallelice" and "jderobot-parallelice-python" packages installed no Raspberry Pi. As I remember there were lots of problems during JdeRobot full-installation. So we decided to install just cameraserver and cameraview tools.

Could it be possible to install "jderobot-parallelice" packages separately?

edit flag offensive delete link more

Comments

you can download jderobot source code and copy JdeRobot/src/libs/parallelIce_py/parallelIce/ folder to /opt/jderobot/libs/python2.7/

aitormf gravatar imageaitormf ( 2018-02-14 02:28:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-02-11 04:09:21 -0500

Seen: 121 times

Last updated: Feb 12