问题描述
Collecting Flask-Login==0.4.1
Using cached Flask-Login-0.4.1.tar.gz (14 kB)
ERROR: Command errored out with exit status 1:
command: /home/open_dnsdb-master/.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w0ytt75c/flask-login/setup.py'"'"'; file='"'"'/tmp/pip-install-w0ytt75c/flask-login/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-zzfwitol
cwd: /tmp/pip-install-w0ytt75c/flask-login/
Complete output (13 lines):
Traceback (most recent call last):
File "", line 1, in
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/setuptools/init.py", line 21, in
from setuptools.dist import Distribution
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/_virtualenv.py", line 89, in exec_module
old(module)
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 34, in
from setuptools import windows_support
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in
import ctypes
File "/usr/local/python3/lib/python3.8/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Command "tools/with_venv.sh pip install --upgrade -r /home/open_dnsdb-master/requirements.txt -r /home/open_dnsdb-master/test-requirements.txt" failed.
None
问题描述 Collecting Flask-Login==0.4.1 Using cached Flask-Login-0.4.1.tar.gz (14 kB) ERROR: Command errored out with exit status 1: command: /home/open_dnsdb-master/.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w0ytt75c/flask-login/setup.py'"'"'; file='"'"'/tmp/pip-install-w0ytt75c/flask-login/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-zzfwitol cwd: /tmp/pip-install-w0ytt75c/flask-login/ Complete output (13 lines): Traceback (most recent call last): File "", line 1, in
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/setuptools/init.py", line 21, in
from setuptools.dist import Distribution
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/_virtualenv.py", line 89, in exec_module
old(module)
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 34, in
from setuptools import windows_support
File "/home/open_dnsdb-master/.venv/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in
import ctypes
File "/usr/local/python3/lib/python3.8/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Command "tools/with_venv.sh pip install --upgrade -r /home/open_dnsdb-master/requirements.txt -r /home/open_dnsdb-master/test-requirements.txt" failed. None
环境配置 Python 3.8.5
复现步骤 1. 2. 3.
实际输出结果
期望输出结果