[New-bugs-announce] [issue29604] ImportError when importing the package `queue`

Gianluca Rossi report at bugs.python.org
Mon Feb 20 07:55:25 EST 2017


New submission from Gianluca Rossi:

In Python 3.5.2 importing *queue* raises an *ImportError*.

```
Python 3.5.2 (default, Jul  5 2016, 12:43:10) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import queue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gianluca/git/python/asyncio/queue.py", line 1, in <module>
    import asyncio
  File "/usr/lib/python3.5/asyncio/__init__.py", line 21, in <module>
    from .base_events import *
  File "/usr/lib/python3.5/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/usr/lib/python3.5/concurrent/futures/__init__.py", line 17, in <module>
    from concurrent.futures.process import ProcessPoolExecutor
  File "/usr/lib/python3.5/concurrent/futures/process.py", line 52, in <module>
    from queue import Full
ImportError: cannot import name 'Full'
```

I'm not very familiar with the *asyncio* module since I've just recently started working with it. Please let me know if I can be of more help.

----------
components: asyncio
messages: 288198
nosy: Gianluca Rossi, gvanrossum, yselivanov
priority: normal
severity: normal
status: open
title: ImportError when importing the package `queue`
type: crash
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29604>
_______________________________________


More information about the New-bugs-announce mailing list