Найти - Пользователи
Полная версия: ImportError: No module named 'Queue'
Начало » Python для новичков » ImportError: No module named 'Queue'
1
studdef
Использую python 3.5 возникает такая вот ошибка:

Traceback (most recent call last):
File “C:\Users\User\Desktop\2.py”, line 8, in <module>
from Queue import Queue
ImportError: No module named ‘Queue’
>>>
Подскажите как исправить?

from Queue import Queue
q = Queue()
address = ['192.168.1.3', '192.168.1.4', '192.168.1.5']
JOHN_16
studdef
Научиться пользоваться документацией. Для питона 3
from queue import Queue
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB