import queue ImportError: No module named queue You can study and learn programming as you wish in the content of this website. ">
 

Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

SerialClient.py", line 41, in import queue ImportError: No module named queue

# The error is showing that in SerialClient.py, line 41 
# imports the queue module, but apparently there can be 
# a version mismatch between python 2/3 calling the module 
# "Queue" vs "queue".

# In your catkin workspace, src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py, 
# Change the line "import queue" to the following:

try: 
    import queue
except ImportError:
    import Queue as queue
 
PREVIOUS NEXT
Tagged: #line #import #queue #No #module #named #queue
ADD COMMENT
Topic
Name
2+2 =