Error like this:

Collecting misaka==2.1.1 (from -r requirements.txt (line 12))
  Downloading (125kB)
    ERROR: Complete output from command python egg_info:
        No working compiler found, or bogus compiler options passed to
        the compiler from Python's standard "distutils" module.  See
        the error messages above.  Likely, the problem is not related
        to CFFI but generic to the of any Python package that
        tries to compile C code.  (Hints: on OS/X 10.8, for errors about
        -mno-fused-madd see
        Otherwise, see or
        the IRC channel #python on
        Trying to continue anyway.  If you are trying to install CFFI from
        a build done in a different context, you can ignore this warning.
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/distutils/", line 118, in _compile
      File "/usr/local/lib/python3.7/distutils/", line 909, in spawn
        spawn(cmd, dry_run=self.dry_run)
      File "/usr/local/lib/python3.7/distutils/", line 36, in spawn
        _spawn_posix(cmd, search_path, dry_run=dry_run)
      File "/usr/local/lib/python3.7/distutils/", line 159, in _spawn_posix
        % (cmd, exit_status))
    distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

And my Dockerfile is here:

- 阅读剩余部分 -


from pymongo import MongoClient
client = MongoClient(host='')
db = client['dbname']
db.authenticate(user, password)


warning:: Starting in MongoDB 3.6, calling :meth:authenticate
invalidates all existing cursors. It may also leave logical sessions
open on the server for up to 30 minutes until they time out.

- 阅读剩余部分 -