[Python-modules-team] Bug#892162: python3-motor: Fails to import
Salvo Tomaselli
tiposchi at tiscali.it
Tue Mar 6 10:11:56 UTC 2018
Package: python3-motor
Version: 1.2.1-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
I had just started the tutorial for this module
http://motor.readthedocs.io/en/stable/tutorial-asyncio.html
and started with the initial import:
import motor.motor_asyncio
which fails.
In [2]: import motor.motor_asyncio
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-0f5fca46d7de> in <module>()
----> 1 import motor.motor_asyncio
/usr/lib/python3/dist-packages/motor/motor_asyncio.py in <module>()
15 """Asyncio support for Motor, an asynchronous driver for MongoDB."""
16
---> 17 from . import core, motor_gridfs
18 from .frameworks import asyncio as asyncio_framework
19 from .metaprogramming import create_class_with_framework
/usr/lib/python3/dist-packages/motor/core.py in <module>()
32 from pymongo.bulk import BulkOperationBuilder
33 from pymongo.database import Database
---> 34 from pymongo.change_stream import ChangeStream
35 from pymongo.collection import Collection
36 from pymongo.cursor import Cursor, _QUERY_OPTIONS
ModuleNotFoundError: No module named 'pymongo.change_stream'
So as it is, this module is completely useless.
I suppose it depends on a different version of pymongo than
what is currently in the archive…
Best.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-motor depends on:
ii python3 3.6.4-1
ii python3-gridfs 3.5.1+dfsg1-1
ii python3-pymongo 3.5.1+dfsg1-1
python3-motor recommends no packages.
Versions of packages python3-motor suggests:
ii python3-aiohttp 3.0.1-1
pn python3-tornado <none>
-- no debconf information
More information about the Python-modules-team
mailing list