Jump to content

Recommended Posts

Posted

Um meinen IMU brick mit python 2.4.3 (aelteres Scientific Linux) ans laufen zu kriegen musste ich zwei imports korrigieren. Vielleicht hilft das ja dem einen oder anderen.

 

---ip_connection.py

Threading.current_thread ist wohl zu neu fuer python2.4, aber das scheint aequivalent zu Threading.currentThread.

Man sollte also auf

from threading import currentThread as current_thread

ausweichen wenn der import von current_thread danebengeht.

 

---brick_imu.py (wohl in allen generierten brick_*.py):

syntax error im "Ausweich-Import" fuer namedtuple, etc

    from .ip_connection import namedtuple

Der Punkt muss natuerlich weg.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...