title: Unable to install flask-mongoengine
body: <p>Getting errors when trying to install <code>flask-mongoengine</code> on Win10 computer with WSL2/Debian. Am able to install other project dependencies without issue.</p>
  <p>Command entered was: <code>python3 -m pip install flask-mongoengine</code>, error output follows)</p>
  <p>Have tried doing similar using <code>sudo</code>, with no improvement.</p>
  <pre><code>    Collecting flask-mongoengine
        Using cached flask-mongoengine-0.9.5.tar.gz (111 kB)
          ERROR: Command errored out with exit status 1:
           command: /mnt/d/dev/opalapi/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/tmp/pip-install-wl69gb5c/flask-mongoengine/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/tmp/pip-install-wl69gb5c/flask-mongoengine/setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' egg_info --egg-base /tmp/pip-pip-egg-info-ldtngp0q
               cwd: /tmp/pip-install-wl69gb5c/flask-mongoengine/
          Complete output (44 lines):
          WARNING: The wheel package is not available.
            ERROR: Command errored out with exit status 1:
             command: /mnt/d/dev/opalapi/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/tmp/pip-wheel-l5ep1tsz/rednose/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/tmp/pip-wheel-l5ep1tsz/rednose/setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' bdist_wheel -d /tmp/pip-wheel-w93yg6mf
                 cwd: /tmp/pip-wheel-l5ep1tsz/rednose/
            Complete output (6 lines):
            usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
               or: setup.py --help [cmd1 cmd2 ...]
               or: setup.py --help-commands
               or: setup.py cmd --help
      
            error: invalid command 'bdist_wheel'
            ----------------------------------------
            ERROR: Failed building wheel for rednose
          ERROR: Failed to build one or more wheels
          Traceback (most recent call last):
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/setuptools/installer.py&quot;, line 128, in fetch_build_egg
              subprocess.check_call(cmd)
            File &quot;/usr/local/lib/python3.8/subprocess.py&quot;, line 364, in check_call
              raise CalledProcessError(retcode, cmd)
          subprocess.CalledProcessError: Command '['/mnt/d/dev/opalapi/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpleem7stb', '--quiet', 'rednose']' returned non-zero exit status 1.
      
          During handling of the above exception, another exception occurred:
      
          Traceback (most recent call last):
            File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
            File &quot;/tmp/pip-install-wl69gb5c/flask-mongoengine/setup.py&quot;, line 36, in &lt;module&gt;
              setup(
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/setuptools/__init__.py&quot;, line 143, in setup
              _install_setup_requires(attrs)
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/setuptools/__init__.py&quot;, line 138, in _install_setup_requires
              dist.fetch_build_eggs(dist.setup_requires)
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/setuptools/dist.py&quot;, line 695, in fetch_build_eggs
              resolved_dists = pkg_resources.working_set.resolve(
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/pkg_resources/__init__.py&quot;, line 781, in resolve
              dist = best[req.key] = env.best_match(
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/pkg_resources/__init__.py&quot;, line 1066, in best_match
              return self.obtain(req, installer)
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/pkg_resources/__init__.py&quot;, line 1078, in obtain
              return installer(requirement)
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/setuptools/dist.py&quot;, line 754, in fetch_build_egg
              return fetch_build_egg(self, req)
            File &quot;/mnt/d/dev/opalapi/venv/lib/python3.8/site-packages/setuptools/installer.py&quot;, line 130, in fetch_build_egg
              raise DistutilsError(str(e))
          distutils.errors.DistutilsError: Command '['/mnt/d/dev/opalapi/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpleem7stb', '--quiet', 'rednose']' returned non-zero exit status 1.
          ----------------------------------------
      ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.```
  </code></pre>