close

[Solved] Import: No module named ‘Queue’

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Import: No module named ‘Queue’ in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Import: No module named ‘Queue’ Error Occurs?

Today I get the following error Import: No module named ‘Queue’ in python.

How To Solve Import: No module named ‘Queue’ Error ?

  1. How To Solve Import: No module named 'Queue' Error ?

    To Solve Import: No module named 'Queue' Error I solve the problem my issue was I had file named queue.py in the same directory

  2. Import: No module named 'Queue'

    To Solve Import: No module named 'Queue' Error I solve the problem my issue was I had file named queue.py in the same directory

Solution 1

import queue is lowercase q in Python 3.

Change Q to q and it will be fine.

Solution 2

I solve the problem my issue was I had file named queue.py in the same directory

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read