尝试flask-mongoengine使用 WSL2/Debian 在 Win10 计算机上安装时出错。我能够毫无问题地安装其他项目依赖项。
输入的命令是:python3 -m pip install flask-mongoengine,错误输出如下)
曾尝试使用 做类似的事情sudo,但没有改进。
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] = '"'"'/tmp/pip-install-wl69gb5c/flask-mongoengine/setup.py'"'"'; __file__='"'"'/tmp/pip-install-wl69gb5c/flask-mongoengine/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 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, …Run Code Online (Sandbox Code Playgroud)